diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-07-03 11:49:28 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-07-03 15:01:23 +0200 |
commit | 1513cd97911fdf4500ae17f7e8ee6d90ac4bac84 (patch) | |
tree | b66771229ecbffdf3e784859b33dcf65aaf0d603 /manager.py | |
parent | Minor improvements to the edit feed forms. (diff) | |
download | newspipe-1513cd97911fdf4500ae17f7e8ee6d90ac4bac84.tar.gz newspipe-1513cd97911fdf4500ae17f7e8ee6d90ac4bac84.tar.bz2 newspipe-1513cd97911fdf4500ae17f7e8ee6d90ac4bac84.zip |
the icon feature
* icon of feeds is now an url retrieved from the feed or the site link
* the icon is displayed in the home page making it visually easier to read
* the http crawler is in charge of keeping it up to date
Diffstat (limited to 'manager.py')
-rwxr-xr-x | manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,6 +5,8 @@ from bootstrap import application, db, populate_g from flask.ext.script import Manager from flask.ext.migrate import Migrate, MigrateCommand +import pyaggr3g470r.models + Migrate(application, db) manager = Manager(application) @@ -15,7 +17,6 @@ def db_empty(): "Will drop every datas stocked in db." with application.app_context(): populate_g() - import pyaggr3g470r.models pyaggr3g470r.models.db_empty(db) @manager.command @@ -23,7 +24,6 @@ def db_create(): "Will create the database from conf parameters." with application.app_context(): populate_g() - import pyaggr3g470r.models pyaggr3g470r.models.db_create(db) @manager.command |