#25039: Automatic setup verbose_name for related fields
-------------------------------------+-------------------------------------
Reporter: djbaldey | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Uncategorized | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
The patch uses deprecated APIs so the test suit can't run, but even when
updated as below, there are still problems running the tests.
{{{
if self.verbose_name is None and self.remote_field and not
isinstance(self.remote_field.model, six.string_types):
self.verbose_name = self.remote_field.model._meta.verbose_name
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25039#comment:1>
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/066.a2aff0f858c5e4b70bd2d158c281415d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.