diff options
-rw-r--r-- | conf.py | 2 | ||||
-rw-r--r-- | conf/conf.cfg-sample | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -83,7 +83,7 @@ NB_WORKER = config.getint('misc', 'nb_worker') WHOOSH_ENABLED = True -SQLALCHEMY_DATABASE_URI = config.get('database', 'uri') +SQLALCHEMY_DATABASE_URI = config.get('database', 'database_url') HTTP_PROXY = config.get('feedparser', 'http_proxy') USER_AGENT = config.get('feedparser', 'user_agent') diff --git a/conf/conf.cfg-sample b/conf/conf.cfg-sample index c594cd4a..7b28df14 100644 --- a/conf/conf.cfg-sample +++ b/conf/conf.cfg-sample @@ -8,7 +8,7 @@ python = python3.3 nb_worker = 5 log_level = info [database] -uri = postgres://pgsqluser:pgsqlpwd@127.0.0.1:5432/aggregator +DATABASE_URL = postgres://pgsqluser:pgsqlpwd@127.0.0.1:5432/aggregator [feedparser] http_proxy = user_agent = pyAggr3g470r (https://bitbucket.org/cedricbonhomme/pyaggr3g470r) |