#14018: Introduce class_plural %-substitution placeholder for related_name of
ForeignKey/ManyToManyField
---------------------------------------------------+------------------------
Reporter: puxlit | Owner: nobody
Status: new | Milestone: 1.3
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
related_name, ManyToManyField, ForeignKey, abstract base class
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by mk):
Making code (attribute names) dependent on the result of a translation is
quite a stupid idea. verbose_name_plural might evaluate to other
translations depending on settings.LANGUAGE_CODE, might contain special
chars and whitespace and isn't suitable at all for naming class attributes
(i.e. related_name).
I'm quite sure this is "wontfix" material.
--
Ticket URL: <http://code.djangoproject.com/ticket/14018#comment:2>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.