summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid D Lowe <daviddlowe.flimm@gmail.com>2016-10-14 11:17:23 +0100
committerTim Graham <timograham@gmail.com>2016-10-14 13:51:48 -0400
commit223393a9e3d5131e1701b05df4b995d2774902b3 (patch)
tree5319446b03de6a30022993865ffa24df67f02162 /docs
parent404587078112295d961939ae76b49ab22da3c79c (diff)
[1.10.x] Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide.
Backport of 424187ec4be73a36d5430901382a27c8523f446a from master
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/http/views.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/topics/http/views.txt b/docs/topics/http/views.txt
index 020c06e090..3c7c5e5018 100644
--- a/docs/topics/http/views.txt
+++ b/docs/topics/http/views.txt
@@ -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.