1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #34730 -- Made Message importable from django.contrib.messages.

This commit is contained in:
François Freitag
2023-08-25 06:54:12 +02:00
committed by Mariusz Felisiak
parent 1081d24f99
commit b7fe36ad37
7 changed files with 8 additions and 12 deletions

View File

@@ -464,9 +464,8 @@ Minor features
* The :ref:`messages context processor <message-displaying>` now adds a
dictionary of default levels under the name ``DEFAULT_MESSAGE_LEVELS``.
* :class:`~django.contrib.messages.storage.base.Message` objects now have a
``level_tag`` attribute that contains the string representation of the
message level.
* :class:`~django.contrib.messages.Message` objects now have a ``level_tag``
attribute that contains the string representation of the message level.
:mod:`django.contrib.redirects`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~