1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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'post/todo',
views.WiredPostTodoView.as_view(),
name="post-todo"
),
path(
r'<pk>/notes',
views.WiredPostNotesView.as_view(),
name="post-detail"
),
]
|