diff options
author | luxagraf <sng@luxagraf.net> | 2018-12-06 06:57:52 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-12-06 06:57:52 -0600 |
commit | d45fa99aa9d587b5674484f68955b43f39e8f6fd (patch) | |
tree | 29b2b5c14de7a26cc9cfe88ad6e89fec0fbe1cae /apps/notes/urls.py | |
parent | 45245bc0a9b659ff547ec20eb70af3def4ee7c6f (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.py | 23 |
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',), -] |