Author: PaulM Date: 2012-02-21 15:54:02 -0800 (Tue, 21 Feb 2012) New Revision: 17570
Modified: django/trunk/django/views/csrf.py Log: Improved CSRF error message. Modified: django/trunk/django/views/csrf.py =================================================================== --- django/trunk/django/views/csrf.py 2012-02-21 18:28:35 UTC (rev 17569) +++ django/trunk/django/views/csrf.py 2012-02-21 23:54:02 UTC (rev 17570) @@ -60,6 +60,8 @@ ensure:</p> <ul> + <li>Your browser is accepting cookies.</li> + <li>The view function uses <a href='http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext'><code>RequestContext</code></a> for the template, instead of <code>Context</code>.</li> -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.