Actually, NVM. Right after I asked this I found the answer in the
Django Book.

Thank you.

- James

On Apr 21, 5:07 pm, jwwest <[EMAIL PROTECTED]> wrote:
> Wow, awesome. Thank you!
>
> On the same subject, is there a way to display more information on the
> record in the listing rather than just one column ? For instance, say
> I have a 'sales table' and I want to list the sales number as the
> first column, then the customer name and so forth. Do I need to edit
> the template for this?
>
> - james
>
> On Apr 21, 4:58 pm, Thomas Kerpe <[EMAIL PROTECTED]> wrote:
>
> > 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