• Sjoerd Langkemper's avatar
    Fixed #21421 -- Added level_tag attribute on messages. · d8712765
    Sjoerd Langkemper yazdı
    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.
    d8712765
Adı
Son kayıt (commit)
Son güncelleme
..
_ext Loading commit data...
_theme/djangodocs Loading commit data...
faq Loading commit data...
howto Loading commit data...
internals Loading commit data...
intro Loading commit data...
man Loading commit data...
misc Loading commit data...
ref Loading commit data...
releases Loading commit data...
topics Loading commit data...
Makefile Loading commit data...
README Loading commit data...
conf.py Loading commit data...
contents.txt Loading commit data...
glossary.txt Loading commit data...
index.txt Loading commit data...
make.bat Loading commit data...