]> git.parisson.com Git - timeside.git/commitdiff
server: sandbox settings database goes back to sqlite
authorThomas Fillon <thomas@parisson.com>
Fri, 28 Nov 2014 13:44:09 +0000 (14:44 +0100)
committerThomas Fillon <thomas@parisson.com>
Mon, 15 Dec 2014 16:18:58 +0000 (17:18 +0100)
examples/sandbox/settings.py

index 6720c1611f49ade0cd4541fbff8dac165a5405ba..78c2e4d1208e005f7adbe37761a06cf3b84e450f 100644 (file)
@@ -17,12 +17,12 @@ PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
 
 DATABASES = {
     'default': {
-        'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
-        'NAME': 'timeside', # Or path to database file if using sqlite3.
-        'USER': 'docker',                      # Not used with sqlite3.
-        'PASSWORD': 'docker',                  # Not used with sqlite3.
-        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
-        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
+        'ENGINE': 'django.db.backends.sqlite3',  # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
+        'NAME': os.path.join(PROJECT_ROOT, '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.
+        'PORT': '',      # Set to empty string for default. Not used with sqlite3.
     }
 }