mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #24829 -- Allowed use of TemplateResponse in view error handlers.
This commit is contained in:
@@ -385,6 +385,10 @@ Requests and Responses
|
||||
* The default 40x error views now accept a second positional parameter, the
|
||||
exception that triggered the view.
|
||||
|
||||
* View error handlers now support
|
||||
:class:`~django.template.response.TemplateResponse`, commonly used with
|
||||
class-based views.
|
||||
|
||||
Tests
|
||||
^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user