Author: lukeplant
Date: 2011-04-20 04:39:10 -0700 (Wed, 20 Apr 2011)
New Revision: 16047
Modified:
django/trunk/docs/ref/contrib/csrf.txt
Log:
Corrected factual error regarding logging in the CSRF docs
Modified: django/trunk/docs/ref/contrib/csrf.txt
===================================================================
--- django/trunk/docs/ref/contrib/csrf.txt 2011-04-19 22:26:50 UTC (rev
16046)
+++ django/trunk/docs/ref/contrib/csrf.txt 2011-04-20 11:39:10 UTC (rev
16047)
@@ -170,10 +170,10 @@
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="")
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.