aboutsummaryrefslogtreecommitdiff
path: root/apps/notes/urls.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-12-06 06:57:52 -0600
committerluxagraf <sng@luxagraf.net>2018-12-06 06:57:52 -0600
commitd45fa99aa9d587b5674484f68955b43f39e8f6fd (patch)
tree29b2b5c14de7a26cc9cfe88ad6e89fec0fbe1cae /apps/notes/urls.py
parent45245bc0a9b659ff547ec20eb70af3def4ee7c6f (diff)
redid tags to use through model, cleaned up note and notebook detail
views
Diffstat (limited to 'apps/notes/urls.py')
-rw-r--r--apps/notes/urls.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/apps/notes/urls.py b/apps/notes/urls.py
deleted file mode 100644
index a79c7cd..0000000
--- a/apps/notes/urls.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from django.urls import path
-
-from .views import (
- NoteDetailView,
- NoteCreateView,
- NoteListView,
- NoteListRedirectView,
- NotebookListView,
- NotebookDetailView,
- NoteTagView,
-)
-
-app_name = "notes"
-
-urlpatterns = [
- path(r'create/', NoteCreateView.as_view(), name='note-create',),
- path(r'<str:user>/tagged/<slug>', NoteTagView.as_view(), name='note-tag',),
- path(r'<str:user>/notebooks/<slug>', NotebookDetailView.as_view(), name='notebook-detail',),
- path(r'<str:user>/notebooks/', NotebookListView.as_view(), name='notebook-list',),
- path(r'<str:user>/<slug>', NoteDetailView.as_view(), name='note-detail',),
- path(r'<str:user>/', NoteListView.as_view(), name='note-list',),
- path(r'', NoteListRedirectView.as_view(), name='note-redirect',),
-]