The comment https://code.djangoproject.com/ticket/16027#comment:21 does
not clarify why the application’s `app_label` was chosen and not
`verbose_name` (via
`self._meta.apps.get_app_config(self.app_label).verbose_name`). In my
opinion, either the whole of the ContentType’s representation should use
localized labels or none of them should be localized.
--
Ticket URL: <https://code.djangoproject.com/ticket/33985>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => arka1002
* status: new => assigned
Comment:
Hey! I'm going to work on it.
--
Ticket URL: <https://code.djangoproject.com/ticket/33985#comment:1>
* type: Uncategorized => Bug
* stage: Unreviewed => Accepted
Comment:
OK, this seems reasonable to at least look at fixing.
Is https://github.com/django/django/pull/15573 related? (It looks like it,
but there's no ticket assigned yet, and no tests.)
--
Ticket URL: <https://code.djangoproject.com/ticket/33985#comment:2>
* owner: arka1002 => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/33985#comment:3>
* owner: (none) => Hrushikesh Vaidya
* status: new => assigned
* has_patch: 0 => 1
* needs_tests: 0 => 1
Comment:
[https://github.com/django/django/pull/16053 PR]
I'm not quite sure how and where to add tests for this patch. Could you
give me some direction, @Carlton Gibson?
--
Ticket URL: <https://code.djangoproject.com/ticket/33985#comment:4>
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/33985#comment:5>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33985#comment:6>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"a52bdea5a27ba44b13eda93642231c65c581e083" a52bdea5]:
{{{
#!CommitTicketReference repository=""
revision="a52bdea5a27ba44b13eda93642231c65c581e083"
Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33985#comment:7>