summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nccps2018/settings.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/nccps2018/settings.py b/nccps2018/settings.py
index dae82f5..9ce4c32 100644
--- a/nccps2018/settings.py
+++ b/nccps2018/settings.py
@@ -80,11 +80,11 @@ WSGI_APPLICATION = 'nccps2018.wsgi.application'
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
- 'TEST': {
- 'NAME': 'mytestdatabase',
- },
+ 'ENGINE': 'django.db.backends.mysql',
+ 'NAME': DB_NAME_DEFAULT, # Or path to database file if using sqlite3.
+ 'USER': DB_USER_DEFAULT,
+ 'PASSWORD': DB_PASS_DEFAULT,
+ 'HOST': DB_HOST_DEFAULT,
}
}