OK, So, should it look like this then:

class Player(SQLObject):
        ...
        team = ForeignKey('Player')
        ...

class Team(SQLObject):
        name = StringCol(length=20, default=None)
        player = ForeignKey('Player')
        stats = MultipleJoin('Tstats')
        
        
class Tstat(SQLObject):
        ...
        team = ForeignKey('Team')

Reply via email to