#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 , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 9 years ago
Note:
See TracTickets
for help on using tickets.
Pull request: https://github.com/django/django/pull/7242