Blame view

src/routine_manager/urls.py 2.59 KB
3df2d31a   haribo   #3430 : dates are...
1
2
3
4
from django.conf.urls import url
from . import views

urlpatterns = [
3dbda6a0   haribo   Date: 17/06/2016
5
6
               url(r'^$', views.requests_list, name="requests_list"),
               url(r'^(?P<status>-?\d)/(?P<message>.+)$', views.requests_list, name="requests_list"),
986d5dec   haribo   Date: 14/06/2016
7

3dbda6a0   haribo   Date: 17/06/2016
8
9
               url(r'^action_request/(?P<req_id>\d+)/(?P<action>[a-z_]{1,20})$', views.action_request, name="action_request"),
               url(r'^action_request/(?P<req_id>\d+)/(?P<action>[a-z_]{1,20})/(?P<status>-?\d)/(?P<message>.+)$', views.action_request, name="action_request_message"),
986d5dec   haribo   Date: 14/06/2016
10

3dbda6a0   haribo   Date: 17/06/2016
11
12
               url(r'^action_sequence/(?P<seq_id>\d+)/(?P<action>[a-z_]{1,20})$', views.action_sequence, name="action_sequence"),
               url(r'^action_sequence/(?P<seq_id>\d+)/(?P<action>[a-z_]{1,20})/(?P<status>-?\d)/(?P<message>.+)$', views.action_sequence, name="action_sequence_message"),
986d5dec   haribo   Date: 14/06/2016
13

3dbda6a0   haribo   Date: 17/06/2016
14
15
               url(r'^action_album/(?P<alb_id>\d+)/(?P<action>[a-z_]{1,20})$', views.action_album, name="action_album"),
               url(r'^action_album/(?P<alb_id>\d+)/(?P<action>[a-z_]{1,20})/(?P<status>-?\d)/(?P<message>.+)$', views.action_album, name="action_album_message"),
986d5dec   haribo   Date: 14/06/2016
16

3dbda6a0   haribo   Date: 17/06/2016
17
18
               url(r'^action_plan/(?P<plan_id>\d+)/(?P<action>[a-z_]{1,20})$', views.action_plan, name="action_plan"),
               url(r'^action_plan/(?P<plan_id>\d+)/(?P<action>[a-z_]{1,20})/(?P<status>-?\d)/(?P<message>.+)$', views.action_plan, name="action_plan_message"),
986d5dec   haribo   Date: 14/06/2016
19

3dbda6a0   haribo   Date: 17/06/2016
20
21
22
23
               url(r'^request_validate/(?P<req_id>\d+)$', views.request_validate, name="request_validate"),
               url(r'^sequence_validate/(?P<seq_id>\d+)$', views.sequence_validate, name="sequence_validate"),
               url(r'^album_validate/(?P<alb_id>\d+)$', views.album_validate, name="album_validate"),
               url(r'^plan_validate/(?P<plan_id>\d+)$', views.plan_validate, name="plan_validate"),
986d5dec   haribo   Date: 14/06/2016
24

3dbda6a0   haribo   Date: 17/06/2016
25
26
27
28
               url(r'^create_request$', views.create_request, name="create_request"),
               url(r'^create_sequence/(?P<req_id>\d+)$', views.create_sequence, name="create_sequence"),
               url(r'^create_album/(?P<seq_id>\d+)$', views.create_album, name="create_album"),
               url(r'^create_plan/(?P<alb_id>\d+)$', views.create_plan, name="create_plan"),
bbf6e698   haribo   Date: 14/06/2016
29

5a1d9029   haribo   Date: 20/06/2016
30
               url(r'^submit_request/(?P<req_id>\d+)/(?P<redir>[a-z_]{1,20})$', views.submit_request, name="submit_request"),
3dbda6a0   haribo   Date: 17/06/2016
31
               url(r'^unsubmit_request/(?P<req_id>\d+)$', views.unsubmit_request, name="unsubmit_request"),
eea995c9   haribo   Date: 16/06/2016
32

3dbda6a0   haribo   Date: 17/06/2016
33
34
               url(r'^export_request/(?P<req_id>\d+)$', views.export_request, name="export_request"),
               url(r'^import_request$', views.import_request, name="import_request"),
eea995c9   haribo   Date: 16/06/2016
35

3df2d31a   haribo   #3430 : dates are...
36
              ]
986d5dec   haribo   Date: 14/06/2016