-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathurls.py
More file actions
53 lines (48 loc) · 1.37 KB
/
urls.py
File metadata and controls
53 lines (48 loc) · 1.37 KB
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
from django.urls import re_path
from plugins.apc import views
urlpatterns = [
re_path(r'^$', views.index, name='apc_index'),
re_path(r'^waiver/(?P<application_id>\d+)/$',
views.waiver_application,
name='apc_waiver_application',
),
re_path(r'^waiver/new/(?P<article_id>\d+)/$',
views.make_waiver_application,
name='apc_make_waiver_application',
),
re_path(r'^settings/$', views.settings, name='apc_settings'),
re_path(r'^(?P<apc_id>\d+)/action/(?P<action>paid|unpaid|new|invoiced)/$',
views.apc_action,
name='apc_action',
),
re_path(r'^staff/$', views.billing_staff, name='apc_billing_staff'),
re_path(
r'^staff/new/$',
views.manage_billing_staff,
name='apc_new_billing_staff',
),
re_path(
r'^staff/(?P<billing_staffer_id>\d+)/$',
views.manage_billing_staff,
name='apc_manage_billing_staff',
),
re_path(
r'^add_article/$',
views.add_article,
name='apc_add_article',
),
re_path(r'^discount/(?P<apc_id>\d+)/$',
views.discount_apc,
name='discount_apc',
),
re_path(
r'^vac/$',
views.vac_list,
name='apc_vac_list',
),
re_path(
r'^vac/(?P<vac_id>\d+)/toggle/$',
views.vac_toggle_contacted,
name='apc_vac_toggle_contacted',
),
]