have a look at verbose_name:

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

  class Meta:
    verbose_name = 'Some Fancy Title'

On 1/10/07, Mae <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> This might have been answered before, but I can't seem to find the
> answer.  If I'm repeating another topic, I apologize in advance.
>
> Here's what I'd like to do:
> I have a model that goes:
> <pre>
> # represents a reference document in the library
> class Reference(models.Model):
>         name = models.CharField(maxlength=100)
>         title = models.CharField(maxlength=100)
>         [...]
> </pre>
>
> Now, when I view http://my_project_url/admin/ , I see a list of model
> class names, one of which is "References".  I would like to display
> something more custom in that list (s.a. "Library Documents" without
> changing the name "Reference" in the model.
>
> Can I do this?  How?
>
> Thanks,
> Mae
>
>
> >
>


-- 
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#:   107471613
Phone:  +420 606 678585

--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to