summaryrefslogtreecommitdiff
path: root/app/gtd/urls.py
blob: 2d883c171a7776aef4e5b5d9009c7d425c0033ca (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
142
143
144
145
146
147
148
149
150
151
from django.urls import path

from . import views

app_name = "gtd"

urlpatterns = [
    path(
        r'deal',
        views.WiredGenerateDealCodeView.as_view(),
        name="code"
    ),
    path(
        r'todo',
        views.GTDNoteTODOView.as_view(),
        name="todo-list"
    ),
    path(
        r'notes',
        views.GTDNoteListView.as_view(),
        {'note_type': None},
        name="note-list"
    ),
    path(
        r'note/create',
        views.GTDNoteCreateView.as_view(),
        name="note-create"
    ),
    path(
        r'note/<str:note_type>',
        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'wiredposts/update-overdue',
        views.WiredPostUpdateOverdueView.as_view(),
        name="wiredpost-update-overdue"
    ),
    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"
    ),
]