mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide.
This commit is contained in:
parent
61f9243e51
commit
424187ec4b
@ -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…
Reference in New Issue
Block a user