Not exactly. From what I can see, you have the stats for different years...

so, in the Player class, you would have

stats = MultipleJoin('PStats')

and in the PStats class you would have:

player = ForeignKey('Player')

So, if you have a player object,

player.stats

will return a list of stats. And if you have a stats object

stats.player

will return the player.

Kevin

On 10/27/05, modmans2ndcoming <[EMAIL PROTECTED]> wrote:
>
> Thanks for the tips....
>
> So, ForeignKey links the objects to each other so, if I has in the
> player class an entry like:
>
> stat = ForeignKey(pstat)
>
> then all I need to do is access player.stat.assists
>
> to get a player's number of assists?
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to