[Django] #27216: Wrong import location in deprecation message

33 views
Skip to first unread message

Django

unread,
Sep 13, 2016, 8:24:45 AM9/13/16
to django-...@googlegroups.com
#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.

Django

unread,
Sep 13, 2016, 9:03:56 AM9/13/16
to django-...@googlegroups.com
#27216: Wrong import location in deprecation message
-------------------------------+---------------------------------------
Reporter: claudep | Owner: deltaskelta
Type: Bug | Status: assigned
Component: contrib.admin | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+---------------------------------------
Changes (by deltaskelta):

* owner: nobody => deltaskelta
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/27216#comment:1>

Django

unread,
Sep 13, 2016, 10:52:20 AM9/13/16
to django-...@googlegroups.com
#27216: Wrong import location in deprecation message
-------------------------------+---------------------------------------
Reporter: claudep | Owner: deltaskelta
Type: Bug | Status: assigned
Component: contrib.admin | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+---------------------------------------

Comment (by deltaskelta):

Pull request: https://github.com/django/django/pull/7242

--
Ticket URL: <https://code.djangoproject.com/ticket/27216#comment:2>

Django

unread,
Sep 13, 2016, 1:45:52 PM9/13/16
to django-...@googlegroups.com
#27216: Wrong import location in deprecation message
-------------------------------+---------------------------------------
Reporter: claudep | Owner: deltaskelta
Type: Bug | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+---------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"7148929a5ef4a5fb8332a43f7d39394618313476" 7148929]:
{{{
#!CommitTicketReference repository=""
revision="7148929a5ef4a5fb8332a43f7d39394618313476"
Fixed #27216 -- Corrected import location in admin deprecation messages.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27216#comment:3>

Django

unread,
Sep 13, 2016, 1:46:30 PM9/13/16
to django-...@googlegroups.com
#27216: Wrong import location in deprecation message
-------------------------------+---------------------------------------
Reporter: claudep | Owner: deltaskelta
Type: Bug | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+---------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"ca825b1779097168545b79c96317da3e1780282c" ca825b1]:
{{{
#!CommitTicketReference repository=""
revision="ca825b1779097168545b79c96317da3e1780282c"
[1.10.x] Fixed #27216 -- Corrected import location in admin deprecation
messages.

Backport of 7148929a5ef4a5fb8332a43f7d39394618313476 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27216#comment:4>

Django

unread,
Sep 13, 2016, 1:46:41 PM9/13/16
to django-...@googlegroups.com
#27216: Wrong import location in deprecation message
-------------------------------+---------------------------------------
Reporter: claudep | Owner: deltaskelta
Type: Bug | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+---------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"07760d07146816bd9aa32786891bb24f467d713d" 07760d07]:
{{{
#!CommitTicketReference repository=""
revision="07760d07146816bd9aa32786891bb24f467d713d"
[1.9.x] Fixed #27216 -- Corrected import location in admin deprecation
messages.

Backport of 7148929a5ef4a5fb8332a43f7d39394618313476 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27216#comment:5>

Reply all
Reply to author
Forward
0 new messages