5👍
Unfortunately, verbose_name_plural
is not an option on the field. It’s a meta option for the model itself. A field has no plural name since, unless it’s a many-to-many relationship (in which case Django will use the plural for the model pointed to by the relationship), there’s only one entity in that field.
Here’s the doc section: http://docs.djangoproject.com/en/dev/topics/db/models/#id3
5👍
There is no verbose_name_plural
. It does not make sense to have both singular and plural for one field. They are mutually exclusive. In Django, they share the same name: verbose_name
.
If your data represents multiple items (e.g. in a one-to-many relationship) use a plural form in verbose_name
. Otherwise, if your data represents a single item, use a singular form.
Verbose name fields in the Django documentation provides some examples.
- [Django]-Monitoring django postgres connections
- [Django]-Django-jquery-file-upload with model OneToOneField
- [Django]-Json.parse gives Uncaught SyntaxError: Unexpected Token (Django json serialized queryset)
- [Django]-Query annotation by distance to find closest distance in Django 1.11 with postgis appears incorrect