2006/8/27, mediumgrade <david sojournmusic.net>:
>
> In my models, I have added the options
"verbose_name" and
> "verbose_name_plural" to make my models
easier to understand in the
> admin interface. However, even though I have added
these options in my
> models, the admin interface still displays the model's
name in the
> default camel case style. Is there something else I am
supposed to add
> in order for these names to be used?
>
>
class Yourclass(models.Model)
# Your class definition here
class Admin:
pass
class Meta:
verbose_name_plural = 'the verbose name goes here'
This should be enoguth. It works for me
--
Antoni Aloy López
Binissalem - Mallorca
http://www.trespams.com
Soci de Bulma - http://www.bulma.cat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-users googlegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---
|