.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
let cid = $("#cid-box").val();
|
||||
window.location.replace("{% url 'sbas:question_detail' pk=exam.pk sk=0 cid='${cid}'' %}");
|
||||
window.location.replace("{% url 'sbas:question_detail' pk=exam.pk sk=0 cid='${cid}' %}");
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ urlpatterns = [
|
||||
path("exam/<int:pk>/toggle_active", views.SbasExamViews.exam_toggle_active, name="exam_toggle_active"),
|
||||
path("exam/<int:pk>/toggle_results_published", views.SbasExamViews.exam_toggle_results_published, name="exam_toggle_results_published"),
|
||||
#path("exam/submit", views.PhysicsExamViews.postExamAnswers, name="exam_answers_submit"),
|
||||
path("exams/", views.SbasExamViews.exam_list, name="exam_list"),
|
||||
path("exam/", views.SbasExamViews.exam_list, name="exam_list"),
|
||||
path("exam/available", views.active_exams, name="active_exams"),
|
||||
#path("exam/json/<int:pk>", views.exam_json, name="exam_json"),
|
||||
#path("exam/json/<int:pk>/recreate", views.exam_json_recreate, name="exam_json_recreate"),
|
||||
|
||||
Reference in New Issue
Block a user