I've read the
docs: https://docs.djangoproject.com/en/1.3/ref/contrib/messages/
I have the MessageMiddleware in place.
I have the SessionMiddleware in place (before MessageMiddleware)
django.contrib.messages.context_processors.messages in in the context
processors
django.contrib.messages in in installed apps.
Template has the standard messages code:
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message
}}</li>
{% endfor %}
</ul>
{% endif %}
I'm getting the message(s), but there is no tag associated. What am I missing?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/9pd8I94-CYMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.