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
INSTALLED_APPS = [
...
'journal.apps.JournalConfig',
]
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)),
]
python manage.py migrate
to create the journal models