aboutsummaryrefslogtreecommitdiff
path: root/manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'manager.py')
-rwxr-xr-xmanager.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/manager.py b/manager.py
index ca772b60..e664469a 100755
--- a/manager.py
+++ b/manager.py
@@ -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)
bgstack15