From 424187ec4be73a36d5430901382a27c8523f446a Mon Sep 17 00:00:00 2001 From: David D Lowe Date: Fri, 14 Oct 2016 11:17:23 +0100 Subject: [PATCH] Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide. --- docs/topics/http/views.txt | 5 +++++ 1 file changed, 5 insertions(+) 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.