diff options
| author | Glandos <bugs-github@antipoul.fr> | 2020-09-27 22:36:37 +0200 |
|---|---|---|
| committer | Glandos <bugs-github@antipoul.fr> | 2020-09-27 22:41:36 +0200 |
| commit | b89bd1e690847646a71920f1b7152675dd164a87 (patch) | |
| tree | 766369ad9c67ead95db5925832fb7b63240c120f | |
| parent | 5103cc4d2aa927efc79324c785f90daf589959cd (diff) | |
| download | ihatemoney-mirror-b89bd1e690847646a71920f1b7152675dd164a87.zip ihatemoney-mirror-b89bd1e690847646a71920f1b7152675dd164a87.tar.gz ihatemoney-mirror-b89bd1e690847646a71920f1b7152675dd164a87.tar.bz2 | |
sqlalchemy database uri needs for '/' for local files
fix #672
| -rw-r--r-- | ihatemoney/conf-templates/ihatemoney.cfg.j2 | 2 |
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 |
