mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
Fixed #641 -- Fixed re-raise in django.core.handlers.base. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f07e5d4f5d
commit
079752fe88
@ -74,7 +74,7 @@ class BaseHandler:
|
|||||||
response = middleware_method(request, e)
|
response = middleware_method(request, e)
|
||||||
if response:
|
if response:
|
||||||
return response
|
return response
|
||||||
raise e
|
raise
|
||||||
|
|
||||||
# Complain if the view returned None (a common error).
|
# Complain if the view returned None (a common error).
|
||||||
if response is None:
|
if response is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user