summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-31 08:26:23 -0500
committerTim Graham <timograham@gmail.com>2017-01-17 20:52:01 -0500
commitd67a46e10459858b681176a3e1f8c6bca39d2ac7 (patch)
tree6684f940e9961299d9520710e1fe16187194d0f9 /docs/ref
parent7510b872e7a2c06e935b0469813320a65f679f64 (diff)
Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.
Per deprecation timeline.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/admin/index.txt8
1 files changed, 0 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.