summaryrefslogtreecommitdiff
path: root/app/posts/note_urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/note_urls.py')
-rw-r--r--app/posts/note_urls.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/app/posts/note_urls.py b/app/posts/note_urls.py
deleted file mode 100644
index 94a030e..0000000
--- a/app/posts/note_urls.py
+++ /dev/null
@@ -1,33 +0,0 @@
-from django.urls import path, re_path
-
-from . import views
-
-app_name = "notes"
-
-urlpatterns = [
- path(
- r'',
- views.NoteListView.as_view(),
- name="list"
- ),
- path(
- r'create',
- views.NoteCreateView.as_view(),
- name="create"
- ),
- path(
- r'<str:status>',
- views.NoteListView.as_view(),
- name="todo"
- ),
- path(
- r'<pk>/edit',
- views.NoteUpdateView.as_view(),
- name="edit"
- ),
- path(
- r'<pk>/notes',
- views.PostNotesView.as_view(),
- name="detail"
- ),
-]