On 7/9/07, Max Battcher wrote: > You could just leave it as a unqualified tag/slug-style string
I'd suggest leaving it as a list. Then template users have more control: <div class="message">[{{ message.labels|join:", " }}] {{ message }}</ div> <div class="message {{ message.labels|join:" " }}">{{ message }}</ div> Perhaps the SessionWrapper can provide some commonly used labels (I'm leaning towards just SUCCESS and FAILURE): request.session.create_message('User added', labels=[request.session.SUCCESS, 'user']) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---