mirror of
https://github.com/django/django.git
synced 2025-11-17 10:43:25 +00:00
Merge f01b82a687 into 5c60763561
This commit is contained in:
commit
2ec40b4c94
1 changed files with 1 additions and 4 deletions
|
|
@ -212,10 +212,7 @@ class BaseHandler:
|
||||||
# Complain if the template response middleware returned None
|
# Complain if the template response middleware returned None
|
||||||
# (a common error).
|
# (a common error).
|
||||||
self.check_response(
|
self.check_response(
|
||||||
response,
|
response, middleware_method, name=middleware_method.__qualname__
|
||||||
middleware_method,
|
|
||||||
name="%s.process_template_response"
|
|
||||||
% (middleware_method.__self__.__class__.__name__,),
|
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
response = response.render()
|
response = response.render()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue