I apologize, I realize this is probably documented somewhere.

Say I have 2 models.

Artist and Album

Album has a foreign key to Artist.

I want to do a list_display of Albums something like this...

                list_display = ('album','release_date','artist')

This works fine and displays the info under the key for Artist.  What
I would like to do is access some of the other attributes of Artist.
Trying artist.hometown and artist[hometown] doesn't work.

Thanks for the help!

Matt




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