floorball_stas/backend/app/models/__init__.py

13 lines
528 B
Python

from backend.app.models.matchday import Matchday, MatchdayWithPlayers
from backend.app.models.player import Player, PlayerTeamsMatchdays
from backend.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)