src/notes/api/views/__init__.py
author ymh <ymh.work@gmail.com>
Fri, 30 Nov 2018 10:53:15 +0100
changeset 183 f8f3af9e5c83
parent 126 ba8bc0199464
permissions -rw-r--r--
Change the settings to avoid using Session authentication for rest framework as it raise exceptions in case client and backend are on the same domain On the filter, adapt to take into account new version of django_filters
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
119
8ff8e2aee0f9 add parameter to filter session and note by updated date. Add pagination on sessions and notes. add read only endpoint at root level to list notes
ymh <ymh.work@gmail.com>
parents: 31
diff changeset
     1
from .core import SessionViewSet, NoteViewSet, RootNoteViewSet
126
ba8bc0199464 add log api for syncing
ymh <ymh.work@gmail.com>
parents: 119
diff changeset
     2
from .sync import ListLogsView
31
63be3ce389f7 improve api
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
126
ba8bc0199464 add log api for syncing
ymh <ymh.work@gmail.com>
parents: 119
diff changeset
     4
__all__ = ['SessionViewSet', 'NoteViewSet', 'RootNoteViewSet', 'ListLogsView']