mirror of
https://github.com/django/django.git
synced 2025-04-08 15:36:47 +00:00
[1.10.x] Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide.
Backport of 424187ec4be73a36d5430901382a27c8523f446a from master
This commit is contained in:
parent
4045870781
commit
223393a9e3
@ -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…
x
Reference in New Issue
Block a user