aboutsummaryrefslogtreecommitdiff
path: root/manager.py
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-07-03 11:49:28 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-07-03 15:01:23 +0200
commit1513cd97911fdf4500ae17f7e8ee6d90ac4bac84 (patch)
treeb66771229ecbffdf3e784859b33dcf65aaf0d603 /manager.py
parentMinor improvements to the edit feed forms. (diff)
downloadnewspipe-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-xmanager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/manager.py b/manager.py
index 008c7775..a4743895 100755
--- a/manager.py
+++ b/manager.py
@@ -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
bgstack15