mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #25135 -- Deprecated the contrib.admin allow_tags attribute.
Thanks Jaap Roes for the idea and initial patch.
This commit is contained in:
@@ -1212,6 +1212,12 @@ Miscellaneous
|
||||
``SimpleTestCase.assertRaisesMessage()`` is deprecated. Pass the callable as
|
||||
a positional argument instead.
|
||||
|
||||
* The ``allow_tags`` attribute on methods of ``ModelAdmin`` has been
|
||||
deprecated. Use :func:`~django.utils.html.format_html`,
|
||||
:func:`~django.utils.html.format_html_join`, or
|
||||
:func:`~django.utils.safestring.mark_safe` when constructing the method's
|
||||
return value instead.
|
||||
|
||||
.. removed-features-1.9:
|
||||
|
||||
Features removed in 1.9
|
||||
|
||||
Reference in New Issue
Block a user