[extensions-web] settings: fixed default location of sqlite database



commit 018a4d4eb3ff1edeaa2c09fd7d765d240f6d95d2
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sun Jan 13 21:44:10 2019 +0400

    settings: fixed default location of sqlite database

 sweettooth/settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/sweettooth/settings.py b/sweettooth/settings.py
index 8ea01e7..bb099c7 100644
--- a/sweettooth/settings.py
+++ b/sweettooth/settings.py
@@ -100,7 +100,7 @@ WSGI_APPLICATION = 'sweettooth.wsgi.application'
 # Database
 # https://docs.djangoproject.com/en/stable/ref/settings/#databases
 DATABASES = {
-    'default': dj_database_url.config(env="EGO_DATABASE_URL", default="sqlite://test.db")
+    'default': dj_database_url.config(env="EGO_DATABASE_URL", default="sqlite://./test.db")
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]