I think you need toput verbose_name(_plural) in the class Meta
http://docs.djangoproject.com/en/dev/topics/db/models/#id3

class Category(models.Model):
   class Meta:
      verbose_name = "Kategoria"
      verbose_name_plural = "Kategorie"

Nuno

On Wed, Mar 24, 2010 at 5:49 PM, serek <stwa...@gmail.com> wrote:
> Hi
>
> I use Django 1.1 and I would like to display in admin panel different
> model name.
>
> For example from code:
> class Category(models.Model):
> in admin panel I receive
> 'Categorys' instead of Categories
>
> I googled for this and try:
> class Category(models.Model):
>    verbose_name = "Kategoria"
>    verbose_name_plural = "Kategorie"
>
> but it is not working. Is there any other possibility to achive that?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to