mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #25695 -- Added template_name parameter to csrf_failure() view.
This commit is contained in:
committed by
Tim Graham
parent
20d2778597
commit
16945f0e9c
@@ -114,7 +114,9 @@ Cache
|
||||
CSRF
|
||||
^^^^
|
||||
|
||||
* ...
|
||||
* The default :setting:`CSRF_FAILURE_VIEW`, ``views.csrf.csrf_failure()`` now
|
||||
accepts an optional ``template_name`` parameter, defaulting to
|
||||
``'403_csrf.html'``, to control the template used to render the page.
|
||||
|
||||
Database backends
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user