Burathar
5 years ago
6 changed files with 27 additions and 25 deletions
@ -1,16 +1,11 @@
@@ -1,16 +1,11 @@
|
||||
from app import login |
||||
|
||||
from app.models.game import Game |
||||
from app.models.game_player import GamePlayer |
||||
from app.models.game_state import GameState |
||||
from app.models.location import Location, LocationEncoder |
||||
from app.models.notification_player import NotificationPlayer |
||||
from app.models.objective import Objective, ObjectiveMinimalEncoder |
||||
from app.models.player_caught_player import PlayerCaughtPlayer |
||||
from app.models.player_found_objective import PlayerFoundObjective |
||||
from app.models.role import Role |
||||
from app.models.user import User |
||||
|
||||
@login.user_loader |
||||
def load_user(id): |
||||
return User.query.get(int(id)) |
||||
from .game import Game |
||||
from .game_player import GamePlayer |
||||
from .game_state import GameState |
||||
from .location import Location, LocationEncoder |
||||
from .notification_player import NotificationPlayer |
||||
from .objective import Objective, ObjectiveMinimalEncoder |
||||
from .player_caught_player import PlayerCaughtPlayer |
||||
from .player_found_objective import PlayerFoundObjective |
||||
from .role import Role |
||||
from .user import User |
||||
|
Loading…
Reference in new issue