Re: Admin for Table of Foreign Keys

2007-06-28 Thread Russell Keith-Magee
On 6/28/07, JimR <[EMAIL PROTECTED]> wrote: > > below. When I include the 'def __str__(self)' it displays the user id > in the admin interface, but when I access the record I get an error > "__str__ returned non-string (type Userid)" The error message is telling you the exact problem. Your __str

Admin for Table of Foreign Keys

2007-06-28 Thread JimR
I have a table that consists entirely of foreign keys. I'd like to display the User Id (and possibly retrieve and display the person's name from another table?) in the admin interface. The model is below. When I include the 'def __str__(self)' it displays the user id in the admin interface, but