From 1cc803b3b287259c433b180c3ba5b1f811bdbee4 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Wed, 10 Oct 2018 15:29:52 +0530 Subject: Restore default DB settings in settings.py --- nccps2018/settings.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'nccps2018/settings.py') diff --git a/nccps2018/settings.py b/nccps2018/settings.py index bf7f493..db36bd8 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': 'mytestdatebase', - }, + '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, } } -- cgit