2006/8/27, mediumgrade <[EMAIL PROTECTED]>:
>
> 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 [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-users
-~----------~----~----~----~------~----~------~--~---