diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-01-17 16:50:38 +0100 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-03-03 22:22:14 +0100 |
commit | 2849c82255b4b889c7342a0a8fa8a4aecfbe599d (patch) | |
tree | 3ad31fd3a0e84bc3f40367cf4963cf8db8c65d06 /manager.py | |
parent | adding news fields and migrations scripts (diff) | |
download | newspipe-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-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) |