aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/conf-templates
diff options
context:
space:
mode:
authorGlandos <bugs-github@antipoul.fr>2020-09-27 22:36:37 +0200
committerGlandos <bugs-github@antipoul.fr>2020-09-27 22:41:36 +0200
commitb89bd1e690847646a71920f1b7152675dd164a87 (patch)
tree766369ad9c67ead95db5925832fb7b63240c120f /ihatemoney/conf-templates
parent5103cc4d2aa927efc79324c785f90daf589959cd (diff)
downloadihatemoney-mirror-b89bd1e690847646a71920f1b7152675dd164a87.zip
ihatemoney-mirror-b89bd1e690847646a71920f1b7152675dd164a87.tar.gz
ihatemoney-mirror-b89bd1e690847646a71920f1b7152675dd164a87.tar.bz2
sqlalchemy database uri needs for '/' for local files
fix #672
Diffstat (limited to 'ihatemoney/conf-templates')
-rw-r--r--ihatemoney/conf-templates/ihatemoney.cfg.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/conf-templates/ihatemoney.cfg.j2 b/ihatemoney/conf-templates/ihatemoney.cfg.j2
index 5dfb9d4..c054591 100644
--- a/ihatemoney/conf-templates/ihatemoney.cfg.j2
+++ b/ihatemoney/conf-templates/ihatemoney.cfg.j2
@@ -8,7 +8,7 @@ DEBUG = False
# The database URI, reprensenting the type of database and how to connect to it.
# Enter an absolute path here.
-SQLALCHEMY_DATABASE_URI = 'sqlite:///var/lib/ihatemoney/ihatemoney.sqlite'
+SQLALCHEMY_DATABASE_URI = 'sqlite:////var/lib/ihatemoney/ihatemoney.sqlite'
SQLACHEMY_ECHO = DEBUG
# Will likely become the default value in flask-sqlalchemy >=3 ; could be removed