diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-19 10:46:23 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-19 10:46:23 +0200 |
commit | 8361ddbe2417318e1611524922bc4d15918cf4d3 (patch) | |
tree | 774811b5f9f4cde4defef2845582be31e34eea34 | |
parent | Test. (diff) | |
download | newspipe-8361ddbe2417318e1611524922bc4d15918cf4d3.tar.gz newspipe-8361ddbe2417318e1611524922bc4d15918cf4d3.tar.bz2 newspipe-8361ddbe2417318e1611524922bc4d15918cf4d3.zip |
The name of this conf variable should be 'DATABASE_URL' on Heroku.
-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) |