The server side implementation of the EteSync protocol.
Project description
This is a reusable django app that implements the server side of EteSync
More info on the [EteSync website](https://www.etesync.com)
# Quick start
1. Add "journal" to your INSTALLED_APPS setting like this::
```
INSTALLED_APPS = [
...
'journal.apps.JournalConfig',
]
```
2. Include the polls URLconf in your project 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)),
]
```
3. Run `python manage.py migrate` to create the journal models
More info on the [EteSync website](https://www.etesync.com)
# Quick start
1. Add "journal" to your INSTALLED_APPS setting like this::
```
INSTALLED_APPS = [
...
'journal.apps.JournalConfig',
]
```
2. Include the polls URLconf in your project 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)),
]
```
3. Run `python manage.py migrate` to create the journal models
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-etesync-journal-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c592e566fa4b063c602cee34cf3435cd16b5772b655384a96762be1106baf8a6 |
|
MD5 | 1b294d26a46cdaefefbf1b8e7e2d66b1 |
|
BLAKE2b-256 | 80053bafba65bebf29f3aa267167a9378ff2bce13c38f8c416e8688f2c224305 |