middleware.py
1.57 KB
-
AN-8573 Respond with 404, not 500, if invalid course_id requested (#647) · cc9f0e63
* Raise 404, not 500, if invalid course_id requested * Remove unneeded try/except in CourseContextMixin The Http404 will be raised by the middleware or by the CourseValidMixin before it even starts executing that function. * Revert adding try/except to format_course_key tag
Tyler Hallada committed