• 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
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.rst Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...