From d67a46e10459858b681176a3e1f8c6bca39d2ac7 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 31 Dec 2016 08:26:23 -0500 Subject: Refs #25135 -- Removed support for the contrib.admin allow_tags attribute. Per deprecation timeline. --- docs/ref/contrib/admin/index.txt | 8 -------- docs/releases/2.0.txt | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'docs') 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. -- cgit v1.3