]> git.parisson.com Git - timeside.git/commitdiff
fix sandbox db path
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 6 Nov 2014 13:03:48 +0000 (14:03 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 6 Nov 2014 13:03:48 +0000 (14:03 +0100)
examples/sandbox/settings.py

index 3ce7cf8678c248e6f4c058517c3a9b40690d2e0c..8bcd4528ba60db3f34191ec636da894a7882964f 100644 (file)
@@ -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.