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.
9 lines
484 B
9 lines
484 B
from app import app, db |
|
from app.models import Game, Player, Objective, Location, Notification |
|
|
|
@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}
|
|
|