소스 검색

Fixed #27349 -- Doc'd the CSRF_FAILURE_VIEW setting in view topic guide.

David D Lowe 8 년 전
부모
커밋
424187ec4b
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      docs/topics/http/views.txt

+ 5 - 0
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.