On 6/10/06, mohan <[EMAIL PROTECTED]> wrote:
> In the admin interface index, an 's' is appended to the model name when
> it is listed. This works for most object names. But now I have a model
> by name 'country'. It is listed in the Admin index as 'countrys'.
>
> How do I override this behaviour?

Hi mohan,

You're looking for the "verbose_name_plural" option to "class Meta".
See this part of the docs:

http://www.djangoproject.com/documentation/model_api/#verbose-name-plural

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to