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.
|
|
|
from app import app, db
|
|
|
|
from app.models import Game, Player, Objective, Location, Notification, GamePlayer, \
|
|
|
|
PlayerFoundObjective, NotificationPlayer, PlayerCaughtPlayer, GameState
|
|
|
|
|
|
|
|
@app.shell_context_processor
|
|
|
|
def make_shell_context():
|
|
|
|
return {'db': db, 'Game' : Game, 'Player' : Player, 'Objective' : Objective,
|
|
|
|
'Location' : Location, 'Notification' : Notification, 'GamePlayer' : GamePlayer,
|
|
|
|
'PlayerFoundObjective' : PlayerFoundObjective, 'NotificationPlayer' : NotificationPlayer,
|
|
|
|
'PlayerCaughtPlayer' : PlayerCaughtPlayer, 'GameState' : GameState}
|