Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27216 closed Bug (fixed)

Wrong import location in deprecation message

Reported by: Claude Paroz Owned by: Jeff Willette
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Two contrib.admin deprecation message mention: Use django.utils.safestring.format_html(), format_html_join(), or mark_safe() instead.

mark_safe is indeed in django.utils.safestring, but the format_html utilities are in django.utils.html.

Change History (5)

comment:1 by Jeff Willette, 8 years ago

Owner: changed from nobody to Jeff Willette
Status: newassigned

comment:3 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In 7148929:

Fixed #27216 -- Corrected import location in admin deprecation messages.

comment:4 by Tim Graham <timograham@…>, 8 years ago

In ca825b1:

[1.10.x] Fixed #27216 -- Corrected import location in admin deprecation messages.

Backport of 7148929a5ef4a5fb8332a43f7d39394618313476 from master

comment:5 by Tim Graham <timograham@…>, 8 years ago

In 07760d07:

[1.9.x] Fixed #27216 -- Corrected import location in admin deprecation messages.

Backport of 7148929a5ef4a5fb8332a43f7d39394618313476 from master

Note: See TracTickets for help on using tickets.
Back to Top