Opened 15 years ago
Closed 15 years ago
#11279 closed (invalid)
verbose_name and ManyToManyField does not works.
Reported by: | lpetrov | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Example:
class Product(models.Model): categories = models.ManyToManyField(Category,verbose_name="xcategories", blank=True,null=True)
Also tried with:
class Category(models.Model): ... class Meta: verbose_name = "xcategory" verbose_name_plural = "xcategories"
In all cases the final ModelForm for Product uses label "Categories:" for the field categories.
Change History (3)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Summary: | verbose_name and ForeignKey/ManyToManyField does not works. → verbose_name and ManyToManyField does not works. |
---|
Note:
See TracTickets
for help on using tickets.
Seems that ForeignKey works, maybe it was my mistake while u did my tests, but ManyToManyField does not work.
Note: Using latest trunk.