aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf.py2
-rw-r--r--conf/conf.cfg-sample2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf.py b/conf.py
index 9017b6bf..5a549f3b 100644
--- a/conf.py
+++ b/conf.py
@@ -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)
bgstack15