Skip to content

Commit

Permalink
Improved CSRF error message.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
PaulMcMillan committed Feb 21, 2012
1 parent 5b560ec commit a3bb4df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions django/views/csrf.py
Expand Up @@ -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>
Expand Down

0 comments on commit a3bb4df

Please sign in to comment.