Fixed #27216 -- Corrected import location in admin deprecation messages.
diff --git a/django/contrib/admin/helpers.py b/django/contrib/admin/helpers.py
index f808d8a8996cd..157c90af47cdc 100644
--- a/django/contrib/admin/helpers.py
+++ b/django/contrib/admin/helpers.py
@@ -213,8 +213,8 @@ def contents(self):
                         if getattr(attr, "allow_tags", False):
                             warnings.warn(
                                 "Deprecated allow_tags attribute used on %s. "
-                                "Use django.utils.safestring.format_html(), "
-                                "format_html_join(), or mark_safe() instead." % attr,
+                                "Use django.utils.html.format_html(), format_html_join(), "
+                                "or django.utils.safestring.mark_safe() instead." % attr,
                                 RemovedInDjango20Warning
                             )
                             result_repr = mark_safe(value)
diff --git a/django/contrib/admin/templatetags/admin_list.py b/django/contrib/admin/templatetags/admin_list.py
index 63b428ec68988..ce2a80cbc2585 100644
--- a/django/contrib/admin/templatetags/admin_list.py
+++ b/django/contrib/admin/templatetags/admin_list.py
@@ -229,8 +229,8 @@ def link_in_col(is_first, field_name, cl):
                 if allow_tags:
                     warnings.warn(
                         "Deprecated allow_tags attribute used on field {}. "
-                        "Use django.utils.safestring.format_html(), "
-                        "format_html_join(), or mark_safe() instead.".format(field_name),
+                        "Use django.utils.html.format_html(), format_html_join(), "
+                        "or django.utils.safestring.mark_safe() instead.".format(field_name),
                         RemovedInDjango20Warning
                     )
                     result_repr = mark_safe(result_repr)

Fixed the referenced deprecation messages
