|
|
@ -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 = [
|
|
|
|