diff options
author | Akshen | 2018-11-02 15:25:48 +0530 |
---|---|---|
committer | Akshen | 2018-11-02 15:25:48 +0530 |
commit | 23973c6fd3d6e0ac033f0a1a50c2c32e4e1d124d (patch) | |
tree | b4778db33743df95cfc497646c8b6822b2b2f951 | |
parent | b42cc399fd70cc45ca7a5e075b39885eeec97d30 (diff) | |
download | nccps-2018-23973c6fd3d6e0ac033f0a1a50c2c32e4e1d124d.tar.gz nccps-2018-23973c6fd3d6e0ac033f0a1a50c2c32e4e1d124d.tar.bz2 nccps-2018-23973c6fd3d6e0ac033f0a1a50c2c32e4e1d124d.zip |
Settings.py Updated
- from sqlite3 to mysql
-rw-r--r-- | nccps2018/settings.py | 10 |
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, } } |