summaryrefslogtreecommitdiff
path: root/app/gtd/urls.py
blob: 44c1a3257a39444852cbc55e90888cf24ae90018 (plain)
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
from django.urls import path, re_path

from . import views

app_name = "gtd"

urlpatterns = [
    path(
        r'todo',
        views.GTDNoteTODOView.as_view(),
        name="note-todo"
    ),
    path(
        r'notes',
        views.GTDNoteListView.as_view(),
        {'status':None}, 
        name="note-list"
    ),
    path(
        r'note/create',
        views.GTDNoteCreateView.as_view(),
        name="note-create"
    ),
    path(
        r'note/<str:status>',
        views.GTDNoteListView.as_view(),
        name="note-list-status"
    ),
    path(
        r'note/<pk>/edit',
        views.GTDNoteUpdateView.as_view(),
        name="note-edit"
    ),
    path(
        r'note/<pk>/delete',
        views.GTDNoteDeleteView.as_view(),
        name="note-delete"
    ),
    path(
        r'projects',
        views.GTDProjectListView.as_view(),
        {'project_type':None}, 
        name="project-list"
    ),
    path(
        r'project/create',
        views.GTDProjectCreateView.as_view(),
        name="project-create"
    ),
    path(
        r'project/<int:pk>',
        views.GTDProjectDetailView.as_view(),
        name="project-detail"
    ),
    path(
        r'project/<str:project_type>',
        views.GTDProjectListView.as_view(),
        name="project-list-type"
    ),
    path(
        r'project/<pk>/edit',
        views.GTDProjectUpdateView.as_view(),
        name="project-edit"
    ),
    path(
        r'project/<pk>/delete',
        views.GTDProjectDeleteView.as_view(),
        name="project-delete"
    ),
    path(
        r'wirednotes',
        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'wirednote/<pk>/delete',
        views.WiredNoteDeleteView.as_view(),
        name="wirednote-delete"
    ),
    path(
        r'wiredposts',
        views.WiredPostListView.as_view(),
        name="wiredpost-list"
    ),
    path(
        r'wiredpost/create',
        views.WiredPostCreateView.as_view(),
        name="wiredpost-create"
    ),
    path(
        r'wiredpost/<pk>/edit',
        views.WiredPostUpdateView.as_view(),
        name="wiredpost-edit"
    ),
    path(
        r'wiredpost/todo',
        views.WiredPostTodoView.as_view(),
        name="wiredpost-todo"
    ),
    path(
        r'wiredpost/<pk>/notes',
        views.WiredPostNotesView.as_view(),
        name="wiredpost-detail"
    ),
    path(
        r'outcomes',
        views.GTDOutcomeListView.as_view(),
        name="outcome-list"
    ),
    path(
        r'outcome/create',
        views.GTDOutcomeCreateView.as_view(),
        name="outcome-create"
    ),
    path(
        r'outcome/<pk>/edit',
        views.GTDOutcomeUpdateView.as_view(),
        name="outcome-edit"
    ),
    path(
        r'outcome/<pk>/delete',
        views.GTDOutcomeDeleteView.as_view(),
        name="outcome-delete"
    ),
]