Hi James

define a __str__ or better __unicode__ method within your model which  
returns the correct string.

i.e.
def __unicode__(self):
     return self.name

//Thomas


Am 21.04.2008 um 23:55 schrieb jwwest:

>
> Hey all,
>
> I'm not sure what I'm doing wrong in my models file, but when I add a
> record in admin, all records are titled [name of model] object. This
> is a problem especially in related tables since there's no way to tell
> them apart.
>
> What do I need to add and where?
>
> Thanks
>
> -James
> >


--~--~---------~--~----~------------~-------~--~----~
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