You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
604 B
17 lines
604 B
4 years ago
|
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))
|