mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
d87127655f
Exposing the level name (e.g. "info") makes it possible to prepend something to the class name. For example, Twitter Bootstrap has an alert-info class. This class can now be added to the message using `class="alert-{{ message.level_tag }}". Because the level_tag was on the end of the `tags` property, it could not be used in this fashion when extra_tags were given. |
||
---|---|---|
.. | ||
bin | ||
conf | ||
contrib | ||
core | ||
db | ||
dispatch | ||
forms | ||
http | ||
middleware | ||
shortcuts | ||
template | ||
templatetags | ||
test | ||
utils | ||
views | ||
__init__.py |