From: Guillaume Pellerin Date: Thu, 6 Nov 2014 13:03:48 +0000 (+0100) Subject: fix sandbox db path X-Git-Tag: 0.6.1~5 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8bcdcc27a9501c85c934efb9dfc96cc90576e6ed;p=timeside.git fix sandbox db path --- 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.