Improved CSRF error message.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5b560ec0c0
commit
a3bb4df895
|
@ -60,6 +60,8 @@ CSRF_FAILURE_TEMPLATE = """
|
||||||
ensure:</p>
|
ensure:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>Your browser is accepting cookies.</li>
|
||||||
|
|
||||||
<li>The view function uses <a
|
<li>The view function uses <a
|
||||||
href='http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext'><code>RequestContext</code></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>
|
for the template, instead of <code>Context</code>.</li>
|
||||||
|
|
Loading…
Reference in New Issue