From 5813400c1b2b6900fd508128c489422761a45001 Mon Sep 17 00:00:00 2001 From: Ashutosh Das Date: Sat, 17 Aug 2024 23:39:18 +0600 Subject: [PATCH] added diary api --- diary/urls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/diary/urls.py b/diary/urls.py index f39bd44..46a81b8 100644 --- a/diary/urls.py +++ b/diary/urls.py @@ -5,6 +5,7 @@ router = routers.DefaultRouter() router.register('tags', views.TagViewSet, basename='tags') +router.register('diaries', views.DiaryViewSet, basename='diaries') urlpatterns = [ re_path(r'^v1/', include(router.urls)),