This commit is contained in:
David Sanders 2025-11-16 02:29:40 +02:00 committed by GitHub
commit 2ec40b4c94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()