diff options
author | adityacp | 2020-03-13 16:31:42 +0530 |
---|---|---|
committer | adityacp | 2020-03-13 16:31:42 +0530 |
commit | fc12aa3d0309d0ac76c29acea52b2bf917605fad (patch) | |
tree | 09a711de043aa5af7c23f816bd7f3959a19e6918 /yaksh | |
parent | 02d3eb634fe105a02318ed3571e4d479415c8428 (diff) | |
download | online_test-fc12aa3d0309d0ac76c29acea52b2bf917605fad.tar.gz online_test-fc12aa3d0309d0ac76c29acea52b2bf917605fad.tar.bz2 online_test-fc12aa3d0309d0ac76c29acea52b2bf917605fad.zip |
Fix redirection while saving exercise
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py index 23c5a88..c0693d7 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -390,7 +390,7 @@ def add_exercise(request, quiz_id=None, course_id=None): else: form = ExerciseForm(instance=quiz) context["exercise"] = quiz - context["course_id"] = course_id + context["course_id"] = course_id context["form"] = form return my_render_to_response(request, 'yaksh/add_exercise.html', context) |