Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improved CSRF error message.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a3bb4df8956185c345e3a4c68df15ad7286788b0 1 parent 5b560ec
@PaulMcMillan PaulMcMillan authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/views/csrf.py
View
2  django/views/csrf.py
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.