mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Removed versionadded/changed notes for 1.7.
This commit is contained in:
parent
0e60912492
commit
c79faae761
64 changed files with 100 additions and 864 deletions
|
@ -198,8 +198,6 @@ Even if you know there is only just one message, you should still iterate over
|
|||
the ``messages`` sequence, because otherwise the message storage will not be cleared
|
||||
for the next request.
|
||||
|
||||
.. versionadded:: 1.7
|
||||
|
||||
The context processor also provides a ``DEFAULT_MESSAGE_LEVELS`` variable which
|
||||
is a mapping of the message level names to their numeric value::
|
||||
|
||||
|
@ -214,8 +212,6 @@ is a mapping of the message level names to their numeric value::
|
|||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
**Outside of templates**, you can use
|
||||
:func:`~django.contrib.messages.get_messages`::
|
||||
|
||||
|
@ -253,8 +249,6 @@ The ``Message`` class
|
|||
* ``extra_tags``: A string containing custom tags for this message,
|
||||
separated by spaces. It's empty by default.
|
||||
|
||||
.. versionadded:: 1.7
|
||||
|
||||
* ``level_tag``: The string representation of the level. By default, it's
|
||||
the lowercase version of the name of the associated constant, but this
|
||||
can be changed if you need by using the :setting:`MESSAGE_TAGS` setting.
|
||||
|
@ -438,8 +432,6 @@ behavior:
|
|||
* :setting:`MESSAGE_STORAGE`
|
||||
* :setting:`MESSAGE_TAGS`
|
||||
|
||||
.. versionadded:: 1.7
|
||||
|
||||
For backends that use cookies, the settings for the cookie are taken from
|
||||
the session cookie settings:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue