Hi,
I've a class named "Category", but this application must be in
Spanish, so I need it to be displayed on the Admin interface as
"Categoria". ¿how can I accomplish that?
Here is the model definition:
class Category(models.Model):
name = models.CharField('Nombre',maxlength=40)
description = models.CharField('Descripción',maxlength=250)
def __str__(self):
return self.name
class Admin:
pass
Thanks everybody.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---