diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-31 08:26:23 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-17 20:52:01 -0500 |
| commit | d67a46e10459858b681176a3e1f8c6bca39d2ac7 (patch) | |
| tree | 6684f940e9961299d9520710e1fe16187194d0f9 /docs | |
| parent | 7510b872e7a2c06e935b0469813320a65f679f64 (diff) | |
Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.
Per deprecation timeline.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 8 | ||||
| -rw-r--r-- | docs/releases/2.0.txt | 3 |
2 files changed, 3 insertions, 8 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 40acb7dd29..b08d17421e 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -633,14 +633,6 @@ subclass:: class PersonAdmin(admin.ModelAdmin): list_display = ('first_name', 'last_name', 'colored_name') - .. deprecated:: 1.9 - - In older versions, you could add an ``allow_tags`` attribute to the - method to prevent auto-escaping. This attribute is deprecated as it's - safer to use :func:`~django.utils.html.format_html`, - :func:`~django.utils.html.format_html_join`, or - :func:`~django.utils.safestring.mark_safe` instead. - * As some examples have already demonstrated, when using a callable, a model method, or a ``ModelAdmin`` method, you can customize the column's title by adding a ``short_description`` attribute to the callable. diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt index d1edbf6180..311a3d6da4 100644 --- a/docs/releases/2.0.txt +++ b/docs/releases/2.0.txt @@ -309,3 +309,6 @@ these features. * The ``callable_obj`` keyword argument to ``SimpleTestCase.assertRaisesMessage()`` is removed. + +* Support for the ``allow_tags`` attribute on ``ModelAdmin`` methods is + removed. |
