Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Corrected factual error regarding logging in the CSRF docs

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 96520e87bdd37a6a32c49cfa2df124421f6ec3ed 1 parent 4175e3d
@spookylukey spookylukey authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/ref/contrib/csrf.txt
View
8 docs/ref/contrib/csrf.txt
@@ -170,10 +170,10 @@ usually only be seen when there is a genuine Cross Site Request Forgery, or
when, due to a programming error, the CSRF token has not been included with a
POST form.
-No logging is done, and the error message is not very friendly, so you may want
-to provide your own page for handling this condition. To do this, simply set
-the :setting:`CSRF_FAILURE_VIEW` setting to a dotted path to your own view
-function, which should have the following signature::
+The error page, however, is not very friendly, so you may want to provide your
+own view for handling this condition. To do this, simply set the
+:setting:`CSRF_FAILURE_VIEW` setting to a dotted path to your own view function,
+which should have the following signature::
def csrf_failure(request, reason="")
Please sign in to comment.
Something went wrong with that request. Please try again.