From 1513cd97911fdf4500ae17f7e8ee6d90ac4bac84 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Fri, 3 Jul 2015 11:49:28 +0200 Subject: 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 --- manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manager.py') 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 -- cgit