diff --git a/django/core/handlers/base.py b/django/core/handlers/base.py index ecec674d3e..9b541b36db 100644 --- a/django/core/handlers/base.py +++ b/django/core/handlers/base.py @@ -74,7 +74,7 @@ class BaseHandler: response = middleware_method(request, e) if response: return response - raise e + raise # Complain if the view returned None (a common error). if response is None: