IMPORTANT: This repo is deprecated, please use refer to https://github.com/etesync/server/
This is a reusable django app that implements the server side of EteSync
More info is available on the EteSync website
- Add "journal" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'journal.apps.JournalConfig',
]
- Include the "journal" URLconf in your project's urls.py like this:
from django.conf.urls import include, url
from rest_framework import routers
from journal import views
router = routers.DefaultRouter()
router.register(r'journals', views.JournalViewSet)
router.register(r'journal/(?P<journal>[^/]+)', views.EntryViewSet)
urlpatterns = [
url(r'^api/v1/', include(router.urls)),
]
- Run
python manage.py migrate
to create the journal models