Add new endpoints and templates for displaying marked answers in the improved marking UI

This commit is contained in:
Ross
2025-11-11 11:53:35 +00:00
parent 1997d013d8
commit 34ef5106f4
5 changed files with 197 additions and 27 deletions
+2
View File
@@ -105,6 +105,8 @@ urlpatterns = [
# New improved marking UI (mark2) and small toggle endpoint used by JS/HTMX
path("exam/<int:exam_pk>/<int:sk>/mark2", views.mark2, name="mark2"),
path("exam/mark2/toggle", views.mark2_toggle_answer, name="mark2_toggle_answer"),
path("exam/<int:exam_pk>/<int:sk>/mark2/exam_marked", views.mark2_exam_marked, name="mark2_exam_marked"),
path("question/<int:pk>/mark2/question_marked", views.mark2_question_marked, name="mark2_question_marked"),
]
urlpatterns.extend(generic_view_urls(views.GenericViews))