mirror of
https://github.com/etesync/server
synced 2024-12-29 10:48:07 +00:00
Update code according to drf changes.
This commit is contained in:
parent
c1f790cad1
commit
b026643cce
@ -28,8 +28,8 @@ router.register(r'journal/(?P<journal_uid>[^/]+)', views.EntryViewSet)
|
|||||||
router.register(r'user', views.UserInfoViewSet)
|
router.register(r'user', views.UserInfoViewSet)
|
||||||
|
|
||||||
journals_router = routers.NestedSimpleRouter(router, r'journals', lookup='journal')
|
journals_router = routers.NestedSimpleRouter(router, r'journals', lookup='journal')
|
||||||
journals_router.register(r'members', views.MembersViewSet, base_name='journal-members')
|
journals_router.register(r'members', views.MembersViewSet, basename='journal-members')
|
||||||
journals_router.register(r'entries', views.EntryViewSet, base_name='journal-entries')
|
journals_router.register(r'entries', views.EntryViewSet, basename='journal-entries')
|
||||||
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
Loading…
Reference in New Issue
Block a user