Implement edit answer functionality with HTMX support; add new endpoint and template for editing stored answers in the marking UI.

This commit is contained in:
Ross
2025-11-11 13:01:51 +00:00
parent 14a54dfa8b
commit 796ac3fb84
4 changed files with 174 additions and 8 deletions
+1
View File
@@ -107,6 +107,7 @@ urlpatterns = [
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"),
path("exam/mark2/edit_answer", views.mark2_edit_answer, name="mark2_edit_answer"),
]
urlpatterns.extend(generic_view_urls(views.GenericViews))