Skip to content
Browse files

Fixed bug in django.utils.decorators.decorator_from_middleware -- it …

…wasn't raising exceptions. Refs #641

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 5cf8f68 commit d35d1f15814c2cf520e2c71a7f483673d0b422a5 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/decorators.py
View
2 django/utils/decorators.py
@@ -23,7 +23,7 @@ def _wrapped_view(request, *args, **kwargs):
result = middleware.process_exception(request, e)
if result is not None:
return result
- raise e
+ raise
if hasattr(middleware, 'process_response'):
result = middleware.process_response(request, response)
if result is not None:

0 comments on commit d35d1f1

Please sign in to comment.
Something went wrong with that request. Please try again.