78 lines
2.6 KiB
Python
Executable File
78 lines
2.6 KiB
Python
Executable File
from django.urls import path, include
|
|
|
|
from generic.models import Examination
|
|
from . import views
|
|
|
|
|
|
app_name = "generic"
|
|
|
|
urlpatterns = [
|
|
# path('', views.question_list, name='question_list'),
|
|
path("examination/create/", views.create_examination, name="create_examination"),
|
|
path(
|
|
"examination/ajax/get_examination_id",
|
|
views.get_examination_id,
|
|
name="get_examination_id",
|
|
),
|
|
path(
|
|
"generic_exam_json_edit",
|
|
views.generic_exam_json_edit,
|
|
name="generic_exam_json_edit",
|
|
),
|
|
path(
|
|
"examination-autocomplete",
|
|
views.ExaminationAutocomplete.as_view(
|
|
model=Examination, create_field="examination"
|
|
),
|
|
name="examination-autocomplete",
|
|
),
|
|
path(
|
|
"cids/manage/<int:pk>/update", views.CidUserUpdate.as_view(), name="update_cid"
|
|
),
|
|
path(
|
|
"cids/manage/<int:cid>/email_results",
|
|
views.candidate_email_results,
|
|
name="candidate_email_results",
|
|
),
|
|
path(
|
|
"cids/manage/<int:cid>/email_details",
|
|
views.candidate_email_details,
|
|
name="candidate_email_details",
|
|
),
|
|
path("cids/manage/", views.CidUserView.as_view(), name="manage_cids"),
|
|
path("cids/manage/exams", views.CidUserExamView.as_view(), name="manage_cid_exams"),
|
|
path("cids/group/", views.cid_group_view, name="cid_group_view"),
|
|
path("cids/group/all", views.cid_group_view_all, name="cid_group_view_all"),
|
|
path("cids/group/<int:pk>/email", views.group_email, name="group_email"),
|
|
path(
|
|
"cids/group/<int:pk>/email_results",
|
|
views.group_email_results,
|
|
name="group_email_results",
|
|
),
|
|
path(
|
|
"cids/group/<int:pk>/email_results/resend",
|
|
views.group_email_results_resend,
|
|
name="group_email_results_resend",
|
|
),
|
|
path(
|
|
"cids/group/<int:pk>/email/resend",
|
|
views.group_email_resend,
|
|
name="group_email_resend",
|
|
),
|
|
path(
|
|
"cids/group/<int:pk>/update", views.CidUserGroupUpdate.as_view(), name="cid_group_update"
|
|
),
|
|
path(
|
|
"cids/group/create", views.CidUserGroupCreate.as_view(), name="cid_group_create"
|
|
),
|
|
path("user/group/", views.user_group_view, name="user_group_view"),
|
|
path("user/group/all", views.user_group_view_all, name="user_group_view_all"),
|
|
path(
|
|
"user/group/<int:pk>/update", views.UserUserGroupUpdate.as_view(), name="user_group_update"
|
|
),
|
|
path(
|
|
"user/group/create", views.UserUserGroupCreate.as_view(), name="user_group_create"
|
|
),
|
|
path("cids/create", views.manage_cid_users, name="manage_cid_users"),
|
|
]
|