django1/django/contrib/messages/tests
Sjoerd Langkemper d87127655f Fixed #21421 -- Added level_tag attribute on messages.
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.
2013-11-11 17:58:02 +01:00
..
__init__.py Fixed #17365, #17366, #18727 -- Switched to discovery test runner. 2013-05-10 23:08:45 -04:00
base.py Fixed #21421 -- Added level_tag attribute on messages. 2013-11-11 17:58:02 +01:00
test_cookie.py Fixed all E261 warnings 2013-11-02 18:20:39 -04:00
test_fallback.py Fix contrib.messages tests for discovery. 2013-04-03 15:30:34 -06:00
test_middleware.py Stopped using django.utils.unittest in the test suite. 2013-07-01 14:29:33 +02:00
test_mixins.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
test_session.py Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions 2013-08-22 13:58:26 -04:00
urls.py More attacking E302 violators 2013-11-02 13:12:09 -07:00