Update exam scores URL for clarity and remove commented-out paths
This commit is contained in:
+1
-1
@@ -455,7 +455,7 @@ def generic_exam_urls(generic_exam_view: GenericExamViews):
|
||||
name="exam_user_bulk_edit",
|
||||
),
|
||||
path(
|
||||
"exam/<int:pk>/scores",
|
||||
"exam/<int:pk>/scores/all",
|
||||
generic_exam_view.exam_scores_all,
|
||||
name="exam_scores_all",
|
||||
),
|
||||
|
||||
@@ -134,16 +134,6 @@ urlpatterns = [
|
||||
),
|
||||
path("question/<int:pk>/toggle_frcr/", views.toggle_frcr_appropriate, name="toggle_frcr"),
|
||||
path("category/merge/", views.merge_category, name="merge_category"),
|
||||
#path(
|
||||
# "exam/<int:pk>/scores/<int:cid>/<str:passcode>/",
|
||||
# views.exam_scores_cid_user,
|
||||
# name="exam_scores_cid_user",
|
||||
#),
|
||||
#path(
|
||||
# "exam/<int:pk>/scores/",
|
||||
# views.exam_scores_cid_user,
|
||||
# name="exam_scores_user",
|
||||
#),
|
||||
]
|
||||
|
||||
urlpatterns.extend(generic_view_urls(views.GenericViews))
|
||||
|
||||
Reference in New Issue
Block a user