aboutsummaryrefslogtreecommitdiff
path: root/budget/tests/ihatemoney_envvar.cfg
diff options
context:
space:
mode:
author0livd <0livd@users.noreply.github.com>2017-04-23 17:32:37 +0100
committerAlexis Metaireau <alexis@notmyidea.org>2017-04-23 18:32:37 +0200
commite3da3b3b7f18fe80f3ecfaa278859db7a9bfdc45 (patch)
tree4e43ef013b0800cebbb164cddd5c9bcafe33edb1 /budget/tests/ihatemoney_envvar.cfg
parentfb84135fe5892f4321977a48abacf233d3ee0d9c (diff)
downloadihatemoney-mirror-e3da3b3b7f18fe80f3ecfaa278859db7a9bfdc45.zip
ihatemoney-mirror-e3da3b3b7f18fe80f3ecfaa278859db7a9bfdc45.tar.gz
ihatemoney-mirror-e3da3b3b7f18fe80f3ecfaa278859db7a9bfdc45.tar.bz2
Externalize the settings (#193)
Default settings from app's root path are loaded first Settings are then overriden by /etc/ihatemoney/ihatemoney.cfg or by another file which path is set in an env var Fixes #187
Diffstat (limited to 'budget/tests/ihatemoney_envvar.cfg')
-rw-r--r--budget/tests/ihatemoney_envvar.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/budget/tests/ihatemoney_envvar.cfg b/budget/tests/ihatemoney_envvar.cfg
new file mode 100644
index 0000000..dbc078e
--- /dev/null
+++ b/budget/tests/ihatemoney_envvar.cfg
@@ -0,0 +1,7 @@
+DEBUG = False
+SQLALCHEMY_DATABASE_URI = 'sqlite:///budget.db'
+SQLACHEMY_ECHO = DEBUG
+
+SECRET_KEY = "lalatra"
+
+MAIL_DEFAULT_SENDER = ("Budget manager", "budget@notmyidea.org")