diff options
Diffstat (limited to 'apps/notes/notebook_urls.py')
-rw-r--r-- | apps/notes/notebook_urls.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/notes/notebook_urls.py b/apps/notes/notebook_urls.py new file mode 100644 index 0000000..b433d15 --- /dev/null +++ b/apps/notes/notebook_urls.py @@ -0,0 +1,13 @@ +from django.urls import path + +from .views import ( + NotebookListView, + NotebookDetailView, +) + +app_name = "notebooks" + +urlpatterns = [ + path(r'<slug>', NotebookDetailView.as_view(), name='detail',), + path(r'', NotebookListView.as_view(), name='list',), +] |