From 2206b6b83348234959150c9501cb0ace601eea55 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Fri, 28 Nov 2014 14:44:09 +0100 Subject: [PATCH] server: sandbox settings database goes back to sqlite --- examples/sandbox/settings.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/sandbox/settings.py b/examples/sandbox/settings.py index 6720c16..78c2e4d 100644 --- a/examples/sandbox/settings.py +++ b/examples/sandbox/settings.py @@ -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. } } -- 2.39.5