> Or is there other better solution?
I think you should handle this in the view, like checking there if the
user has sufficient privileges for seeing the message.
Kenny
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
Hi,
django.contrib.messages is very handy and useful app. When I use it in
template I'd like to print in one place in template only messages with
certain level. That's not possible as I can understand it. You can
print all of them (as described in documentation):
{% if messages %}
{% for mess
2 matches
Mail list logo