aboutsummaryrefslogtreecommitdiff
path: root/manager.py
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-01-17 16:50:38 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-03-03 22:22:14 +0100
commit2849c82255b4b889c7342a0a8fa8a4aecfbe599d (patch)
tree3ad31fd3a0e84bc3f40367cf4963cf8db8c65d06 /manager.py
parentadding news fields and migrations scripts (diff)
downloadnewspipe-2849c82255b4b889c7342a0a8fa8a4aecfbe599d.tar.gz
newspipe-2849c82255b4b889c7342a0a8fa8a4aecfbe599d.tar.bz2
newspipe-2849c82255b4b889c7342a0a8fa8a4aecfbe599d.zip
a first big refacto of the existing arch
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