13 lines
504 B
Python
13 lines
504 B
Python
from app.models.matchday import Matchday, MatchdayWithPlayers
|
|
from app.models.player import Player, PlayerTeamsMatchdays
|
|
from app.models.team import Team, TeamWithPlayers
|
|
|
|
|
|
Player.update_forward_refs(Team=Team, Matchday=Matchday)
|
|
PlayerTeamsMatchdays.update_forward_refs(Team=Team, Matchday=Matchday)
|
|
|
|
Team.update_forward_refs(Player=Player)
|
|
TeamWithPlayers.update_forward_refs(Player=Player)
|
|
|
|
Matchday.update_forward_refs(Player=Player)
|
|
MatchdayWithPlayers.update_forward_refs(Player=Player) |