Re: How to display value from a sub model in the template

2011-02-21 Thread Chris
The default (from the doc F00_set so: ) playerVital_set and playerSkills_set So I want the first set for each of them ... (sorry for the double post by the way) On Feb 20, 9:10 pm, Shawn Milochik wrote: > What are the related_name values you gave to the foreign key fields

Re: How to display value from a sub model in the template

2011-02-20 Thread Shawn Milochik
What are the related_name values you gave to the foreign key fields of your related models? -- 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

How to display value from a sub model in the template

2011-02-20 Thread Chris
Hi ! I have template page I'm trying to list all the player of a team, The player model have 2 sub-model: playerVital and playerSkill. The model playerVital has a one to one relation ship with the player model and player skill have a foreign key to the player model. How can I show the value of