diff options
Diffstat (limited to 'apps/notes/urls.py')
-rw-r--r-- | apps/notes/urls.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/notes/urls.py b/apps/notes/urls.py new file mode 100644 index 0000000..76bdeb1 --- /dev/null +++ b/apps/notes/urls.py @@ -0,0 +1,18 @@ +from django.urls import path + +from . import views + +app_name = "notes" + +urlpatterns = [ + path( + r'create/', + views.NoteCreateView.as_view(), + name="note-create" + ), + path( + r'', + views.NoteListView.as_view(), + name="note" + ), +] |