mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
[1.10.x] Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide.
Backport of 424187ec4b
from master
This commit is contained in:
parent
4045870781
commit
223393a9e3
1 changed files with 5 additions and 0 deletions
|
@ -161,3 +161,8 @@ The :func:`~django.views.defaults.bad_request` view is overridden by
|
|||
:data:`~django.conf.urls.handler400`::
|
||||
|
||||
handler400 = 'mysite.views.my_custom_bad_request_view'
|
||||
|
||||
.. seealso::
|
||||
|
||||
Use the :setting:`CSRF_FAILURE_VIEW` setting to override the CSRF error
|
||||
view.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue