Author: lukeplant
Date: 2009-10-27 17:20:03 -0500 (Tue, 27 Oct 2009)
New Revision: 11676

Modified:
   django/trunk/django/views/csrf.py
Log:
Small improvement to CSRF failure template.


Modified: django/trunk/django/views/csrf.py
===================================================================
--- django/trunk/django/views/csrf.py   2009-10-27 21:52:25 UTC (rev 11675)
+++ django/trunk/django/views/csrf.py   2009-10-27 22:20:03 UTC (rev 11676)
@@ -46,6 +46,8 @@
   and only the initial error message will be displayed.  </p>
 
   <p>You can customize this page using the CSRF_FAILURE_VIEW setting.</p>
+  {% else %}
+  <p><small>More information is available with DEBUG=True.</small></p>
 
   {% endif %}
 </body>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to