id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 21421,"Expose level tag (debug, info, warning) on messages",sjoerd-django@…,nobody,"Messages in the messages framework have a level, like debug, info or warning. It would be nice if this level was accessible in the view, so that it can be used in a class name. For example, Twitter Bootstrap has an alert-info class. This class could be added to the message using class=""alert-{{ message.level_tag }}"". The existing extra_tags functionality does not provide for this, because the level_tag is on the end. When using class=""alert-{{ message.extra_tags }}"" it will only work when no extra tags are given. I have made a pull request for this here: https://github.com/django/django/pull/1891",New feature,closed,contrib.messages,dev,Normal,fixed,,Baptiste Mispelon,Accepted,1,1,0,0,0,0