From 646166bbd7a168d15f08f8f901d4fdca2c600644 Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Wed, 13 Jun 2018 09:55:57 +0700 Subject: [PATCH] Update sqlite db file path in config template --- config_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_template.py b/config_template.py index 9d25fd9..9c2d8fd 100644 --- a/config_template.py +++ b/config_template.py @@ -31,7 +31,7 @@ SQLA_DB_NAME = 'powerdnsadmin' #SQLALCHEMY_DATABASE_URI = 'mysql://'+SQLA_DB_USER+':'\ # +SQLA_DB_PASSWORD+'@'+SQLA_DB_HOST+'/'+SQLA_DB_NAME #SQLite -SQLALCHEMY_DATABASE_URI = 'sqlite:///pdns.db' +SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'pdns.db') SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository') SQLALCHEMY_TRACK_MODIFICATIONS = True