33 lines
975 B
Python
Executable File
33 lines
975 B
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/", views.CidUserView.as_view(), name="manage_cids"),
|
|
path("cids/group/<int:pk>", views.group_view, name="group_view"),
|
|
path("cids/create", views.manage_cid_users, name="manage_cid_users"),
|
|
]
|