diff options
author | luxagraf <sng@luxagraf.net> | 2023-11-15 17:08:29 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-11-15 17:08:29 -0500 |
commit | 5d26ed7dbba5475a93b70c450741b358153b0855 (patch) | |
tree | 8c9dcdb2bb1735e787cb0753215898b17e92f062 /app/gtd/urls.py | |
parent | 9f1c7ef8a47ee1a2df40ce1f57df105af8b99cc1 (diff) |
gtd: rolled in wired stuff plus created my own gtd app
Diffstat (limited to 'app/gtd/urls.py')
-rw-r--r-- | app/gtd/urls.py | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/app/gtd/urls.py b/app/gtd/urls.py new file mode 100644 index 0000000..db416bb --- /dev/null +++ b/app/gtd/urls.py @@ -0,0 +1,101 @@ +from django.urls import path, re_path + +from . import views + +app_name = "gtd" + +urlpatterns = [ + path( + r'todo', + views.GTDNoteTODOView.as_view(), + name="note-list" + ), + path( + r'notes', + views.GTDNoteListView.as_view(), + {'status':None}, + name="note-list" + ), + path( + r'notes/create', + views.GTDNoteCreateView.as_view(), + name="note-create" + ), + path( + r'notes/<str:status>', + views.GTDNoteListView.as_view(), + name="note-list-status" + ), + path( + r'note/<pk>/edit', + views.GTDNoteUpdateView.as_view(), + name="note-edit" + ), + path( + r'projects', + views.GTDProjectListView.as_view(), + name="project-list" + ), + path( + r'projects/create', + views.GTDProjectCreateView.as_view(), + name="project-create" + ), + path( + r'projects/<pk>', + views.GTDProjectDetailView.as_view(), + name="project-detail" + ), + path( + r'projects/<pk>/edit', + views.GTDProjectUpdateView.as_view(), + name="project-edit" + ), + path( + r'wirednote', + views.WiredNoteListView.as_view(), + {'status':None}, + name="wirednote-list" + ), + path( + r'wirednote/create', + views.WiredNoteCreateView.as_view(), + name="wirednote-create" + ), + path( + r'wirednote/<str:status>', + views.WiredNoteListView.as_view(), + name="wirednote-list" + ), + path( + r'wirednote/<pk>/edit', + views.WiredNoteUpdateView.as_view(), + name="wirednote-edit" + ), + + path( + r'post', + views.WiredPostListView.as_view(), + name="post-list" + ), + path( + r'post/new', + views.WiredPostNewView.as_view(), + name="post-create" + ), + path( + r'post/<pk>/edit', + views.WiredPostUpdateView.as_view(), + name="post-edit" + ), + path( + r'posts/todo', + views.WiredPostTodoView.as_view(), + name="post-todo" + ), + path( + r'<pk>/notes', + views.WiredPostNotesView.as_view(), + name="post-detail" + ), +] |