From 23973c6fd3d6e0ac033f0a1a50c2c32e4e1d124d Mon Sep 17 00:00:00 2001 From: Akshen Date: Fri, 2 Nov 2018 15:25:48 +0530 Subject: Settings.py Updated - from sqlite3 to mysql --- nccps2018/settings.py | 10 +++++----- 1 file 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, } } -- cgit