Commit 1e72e1c9 by Victor Shnayder

change 404 message

parent 9102c760
...@@ -335,7 +335,7 @@ def progress(request, course_id, student_id=None): ...@@ -335,7 +335,7 @@ def progress(request, course_id, student_id=None):
# The course_module should be accessible, but check anyway just in case something went wrong: # The course_module should be accessible, but check anyway just in case something went wrong:
if course_module is None: if course_module is None:
raise Http404("No access to this course") raise Http404("Course does not exist")
courseware_summary = grades.progress_summary(student, course_module, courseware_summary = grades.progress_summary(student, course_module,
course.grader, student_module_cache) course.grader, student_module_cache)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment