from django.urls import re_path from django.urls import path #from common.models import ScientificProgram from . import views urlpatterns = [ re_path(r'^$', views.sequences_list, name="sequences_list"), re_path(r'^(?P-?\d)/(?P.+)$', views.sequences_list, name="sequences_list"), re_path(r'^action_request/(?P\d+)/(?P[a-z_]{1,20})$', views.action_request, name="action_request"), re_path(r'^action_request/(?P\d+)/(?P[a-z_]{1,20})/(?P-?\d)/(?P.+)$', views.action_request, name="action_request_message"), re_path(r'^action_sequence/(?P\d+)/(?P[a-z_]{1,20})$', views.action_sequence, name="action_sequence"), re_path(r'^action_sequence/(?P\d+)/(?P[a-z_]{1,20})/(?P-?\d)/(?P.+)$', views.action_sequence, name="action_sequence_message"), re_path(r'^action_album/(?P\d+)/(?P[a-z_]{1,20})$', views.action_album, name="action_album"), re_path(r'^action_album/(?P\d+)/(?P[a-z_]{1,20})/(?P-?\d)/(?P.+)$', views.action_album, name="action_album_message"), re_path(r'^action_plan/(?P\d+)/(?P[a-z_]{1,20})$', views.action_plan, name="action_plan"), re_path(r'^action_plan/(?P\d+)/(?P[a-z_]{1,20})/(?P-?\d)/(?P.+)$', views.action_plan, name="action_plan_message"), re_path(r'^request_validate/(?P\d+)$', views.request_validate, name="request_validate"), re_path(r'^sequence_validate/(?P\d+)$', views.sequence_validate, name="sequence_validate"), re_path(r'^album_validate/(?P\d+)$', views.album_validate, name="album_validate"), re_path(r'^plan_validate/(?P\d+)$', views.plan_validate, name="plan_validate"), re_path(r'^create_request$', views.create_request, name="create_request"), #re_path(r'^create_sequence/(?P\d+)$', views.create_sequence, name="create_sequence"), re_path(r'^create_sequence/', views.create_sequence, name="create_sequence"), re_path(r'^create_album/(?P\d+)$', views.create_album, name="create_album"), re_path(r'^create_plan/(?P\d+)$', views.create_plan, name="create_plan"), re_path(r'^submit_request/(?P\d+)/(?P[a-z_]{1,20})$', views.submit_request, name="submit_request"), re_path(r'^unsubmit_request/(?P\d+)$', views.unsubmit_request, name="unsubmit_request"), re_path(r'^export_request/(?P\d+)$', views.export_request, name="export_request"), re_path(r'^import_request$', views.import_request, name="import_request"), # path("test_create_plan",views.test_create_plan,name="test_create_plan"), path("edit_plan/", views.edit_plan, name="edit_plan"), path("delete_albums/", views.delete_albums, name="delete_albums"), path("create_albums//", views.create_albums, name="create_albums"), path("export_sequence//", views.export_sequence, name="export_sequence"), path("import_sequence/", views.import_sequence, name="import_sequence"), path("copy_sequence/", views.copy_sequence, name="copy_sequence"), path("unsubmit_sequence/", views.unsubmit_sequence, name="unsubmit_sequence") ]