blob: 5add19e9aa753c1f017c314beac11631d14dba7f [file] [log] [blame]
#!/usr/bin/env python
from app import create_app, db
from app.models import User, Booking
app = create_app()
@app.shell_context_processor
def make_shell_context():
return {'db': db, 'User': User, 'Booking': Booking}
if __name__ == '__main__':
app.run(debug=True)