Opened 16 years ago
Closed 16 years ago
#11279 closed (invalid)
verbose_name and ManyToManyField does not works.
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 , 16 years ago
comment:2 by , 16 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.