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

Fixed #18054 -- Deprecated contrib.markup. Thanks to simukis for the initial patch.

This commit is contained in:
Preston Holmes
2012-06-23 17:57:20 +03:00
committed by Julien Phalip
parent 617d077f1f
commit 3da43c1111
5 changed files with 30 additions and 1 deletions

View File

@@ -358,3 +358,11 @@ the built-in :func:`itertools.product` instead.
The :class:`~django.utils.encoding.StrAndUnicode` mix-in has been deprecated.
Define a ``__str__`` method and apply the
:func:`~django.utils.encoding.python_2_unicode_compatible` decorator instead.
``django.utils.markup``
~~~~~~~~~~~~~~~~~~~~~~~
The markup contrib module has been deprecated and will follow an accelerated
deprecation schedule. Direct use of python markup libraries or 3rd party tag
libraries is preferred to Django maintaining this functionality in the
framework.