diff options
Diffstat (limited to 'manager.py')
-rwxr-xr-x | manager.py | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,14 +1,12 @@ #!/usr/bin/env python - +from bootstrap import application, db from flask.ext.script import Manager from flask.ext.migrate import Migrate, MigrateCommand -from pyaggr3g470r import app, db - -Migrate(app, db) +Migrate(application, db) -manager = Manager(app) +manager = Manager(application) manager.add_command('db', MigrateCommand) |