some refactoring and atlas improvements

This commit is contained in:
Ross
2023-07-24 11:56:12 +01:00
parent e6469e70f0
commit dd300afd63
26 changed files with 521 additions and 170 deletions
+18 -3
View File
@@ -21,17 +21,17 @@ urlpatterns = [
path(
"collection/create",
views.CaseCollectionCreate.as_view(),
name="collection_create",
name="exam_create",
),
path(
"collection/<int:pk>/delete",
views.CaseCollectionDelete.as_view(),
name="collection_delete",
name="exam_deleted",
),
path(
"collection/<int:pk>/update",
views.CaseCollectionUpdate.as_view(),
name="collection_update",
name="exam_update",
),
path("collection/<int:pk>", views.collection_detail, name="collection_detail"),
path(
@@ -44,6 +44,16 @@ urlpatterns = [
views.GenericExamViews.exam_cids,
name="exam_cids",
),
path(
"exam/<int:exam_id>/cids/edit",
views.GenericExamViews.exam_cids_edit,
name="exam_cids_edit",
),
path(
"exam/<int:exam_id>/users/edit",
views.GenericExamViews.exam_users_edit,
name="exam_users_edit",
),
path(
"collection/<int:exam_id>/cids/<int:cid>/delete_answers",
views.delete_collection_cid_answers,
@@ -59,6 +69,11 @@ urlpatterns = [
views.GenericExamViews.exam_cids_edit,
name="exam_cids_edit",
),
path(
"collection/<int:exam_id>/users/edit",
views.GenericExamViews.exam_users_edit,
name="exam_users_edit",
),
path(
"collection/<int:pk>/mark",
views.collection_mark_overview,