Opened 15 years ago

Closed 15 years ago

#11254 closed (invalid)

Bug in user messages documentation

Reported by: anonymous Owned by: nobody
Component: Uncategorized Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

below code from
{% if messages %}
<ul>

{% for message in messages %}
<li>{{ message.message }}</li>
{% endfor %}

</ul>
{% endif %}
http://www.djangoproject.com/documentation/0.95/authentication/#messages
does not work.

To fix it one needs change {{message.message}} to {{message}}

Change History (1)

comment:1 by Alex Gaynor, 15 years ago

Resolution: invalid
Status: newclosed

Those are the .95 docs, and you've indicated your using django 1.0, you should be using the 1.0 docs: http://docs.djangoproject.com/en/dev/topics/auth/#messages

Note: See TracTickets for help on using tickets.
Back to Top