#27216: Wrong import location in deprecation message
-----------------------------------------+------------------------
               Reporter:  claudep        |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  contrib.admin  |        Version:  master
               Severity:  Normal         |       Keywords:
           Triage Stage:  Accepted       |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  1
                  UI/UX:  0              |
-----------------------------------------+------------------------
 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`.

--
Ticket URL: <https://code.djangoproject.com/ticket/27216>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.6a8258326aee9518e61ededc3bfa2547%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to