From 33077cbdd6141a7741baa0f868c61bafbecb6607 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 26 Dec 2020 19:53:48 +0000 Subject: [PATCH] error --- physics/templates/physics/exam_overview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/physics/templates/physics/exam_overview.html b/physics/templates/physics/exam_overview.html index cd9c2033..42bcca19 100644 --- a/physics/templates/physics/exam_overview.html +++ b/physics/templates/physics/exam_overview.html @@ -48,7 +48,7 @@ // send request to change the is_private state on customSwitches toggle $("#exam-active-switch").on("change", function () { $.ajax({ - url: "{% url 'anatomy:exam_toggle_active' pk=exam.pk %}", + url: "{% url 'physics:exam_toggle_active' pk=exam.pk %}", data: { csrfmiddlewaretoken: "{{ csrf_token }}", active: this.checked // true if checked else false