from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.requests_list, name="requests_list"), url(r'^(?P-?\d)/(?P.+)$', views.requests_list, name="requests_list"), url(r'^action_request/(?P\d+)/(?P[a-z_]{1,20})$', views.action_request, name="action_request"), url(r'^action_request/(?P\d+)/(?P[a-z_]{1,20})/(?P-?\d)/(?P.+)$', views.action_request, name="action_request_message"), url(r'^action_sequence/(?P\d+)/(?P[a-z_]{1,20})$', views.action_sequence, name="action_sequence"), url(r'^action_sequence/(?P\d+)/(?P[a-z_]{1,20})/(?P-?\d)/(?P.+)$', views.action_sequence, name="action_sequence_message"), url(r'^action_album/(?P\d+)/(?P[a-z_]{1,20})$', views.action_album, name="action_album"), url(r'^action_album/(?P\d+)/(?P[a-z_]{1,20})/(?P-?\d)/(?P.+)$', views.action_album, name="action_album_message"), url(r'^action_plan/(?P\d+)/(?P[a-z_]{1,20})$', views.action_plan, name="action_plan"), url(r'^action_plan/(?P\d+)/(?P[a-z_]{1,20})/(?P-?\d)/(?P.+)$', views.action_plan, name="action_plan_message"), url(r'^request_validate/(?P\d+)$', views.request_validate, name="request_validate"), url(r'^sequence_validate/(?P\d+)$', views.sequence_validate, name="sequence_validate"), url(r'^album_validate/(?P\d+)$', views.album_validate, name="album_validate"), url(r'^plan_validate/(?P\d+)$', views.plan_validate, name="plan_validate"), url(r'^create_request$', views.create_request, name="create_request"), url(r'^create_sequence/(?P\d+)$', views.create_sequence, name="create_sequence"), url(r'^create_album/(?P\d+)$', views.create_album, name="create_album"), url(r'^create_plan/(?P\d+)$', views.create_plan, name="create_plan"), url(r'^submit_request/(?P\d+)/(?P[a-z_]{1,20})$', views.submit_request, name="submit_request"), url(r'^unsubmit_request/(?P\d+)$', views.unsubmit_request, name="unsubmit_request"), url(r'^export_request/(?P\d+)$', views.export_request, name="export_request"), url(r'^import_request$', views.import_request, name="import_request"), ]