Ticket #16004: 16004.fix.diff
File 16004.fix.diff, 795 bytes (added by , 13 years ago) |
---|
-
django/utils/decorators.py
diff -r 128c90a7b280 -r 9a6a9d2ca28f django/utils/decorators.py
a b 95 95 if result is not None: 96 96 return result 97 97 raise 98 if hasattr(response, 'render') and callable(response.render): 99 if hasattr(middleware, 'process_template_response'): 100 response = middleware.process_template_response(request, response) 101 response.render() 98 102 if hasattr(middleware, 'process_response'): 99 103 result = middleware.process_response(request, response) 100 104 if result is not None: