From 8bcdcc27a9501c85c934efb9dfc96cc90576e6ed Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 6 Nov 2014 14:03:48 +0100 Subject: [PATCH] fix sandbox db path --- examples/sandbox/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/sandbox/settings.py b/examples/sandbox/settings.py index 3ce7cf8..8bcd452 100644 --- a/examples/sandbox/settings.py +++ b/examples/sandbox/settings.py @@ -18,7 +18,7 @@ PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. - 'NAME': 'timeside.sql', # Or path to database file if using sqlite3. + 'NAME': PROJECT_ROOT + os.sep + 'timeside.sql', # Or path to database file if using sqlite3. 'USER': '', # Not used with sqlite3. 'PASSWORD': '', # Not used with sqlite3. 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. -- 2.39.5