Tai Lee wrote:
> I've been using my own messages in sessions for a while now and every
> message i send is either "good", "bad", or neutral (neither good nor
> bad). these three states are very generic and cover every type of
> message i need to send. at present i display good messages in green,
> bad in red, and neutral in blue.

I do the same thing, using lists of messages stored to the session using 
"success_messages", "error_messages", and "info_messages" keys.  With a 
context processor to pull them out and code in my base template to 
display them.  Same colors even.  I also use the "dialog-error" and 
"dialog-information" icons from the Tango icon library [1].

Gary

[1] http://tango.freedesktop.org/Tango_Icon_Gallery

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to