diff options
author | Sashi20 | 2018-10-10 15:03:02 +0530 |
---|---|---|
committer | GitHub | 2018-10-10 15:03:02 +0530 |
commit | cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b (patch) | |
tree | 8c13a8cd762971e86bb39a95029eb2a16784ded0 /nccps2018 | |
parent | 78e35b6ffa9ad3336484168b569e9f26c2d9a67e (diff) | |
parent | a80d99243f843181c7356d71a1b3446d5cc80637 (diff) | |
download | nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.tar.gz nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.tar.bz2 nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.zip |
Merge pull request #24 from Akshen/develop
DWSIM Quiz NCCP-2018
Diffstat (limited to 'nccps2018')
-rwxr-xr-x | nccps2018/config.py | 2 | ||||
-rw-r--r-- | nccps2018/settings.py | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/nccps2018/config.py b/nccps2018/config.py index 31b2c3c..aea66d7 100755 --- a/nccps2018/config.py +++ b/nccps2018/config.py @@ -37,7 +37,7 @@ EMAIL_HOST_USER_SERVER = 'localhost' EMAIL_HOST_PASSWORD_SERVER = '' EMAIL_USE_TLS_SERVER = False ######################################### -ALLOWED_HOSTS_VAL = ['dwsim.fossee.aero.iitb.ac.in','10.101.11.205',] +ALLOWED_HOSTS_VAL = ['dwsim.fossee.aero.iitb.ac.in','127.0.0.1',] DEBUG_VAL = True SITE = 'http://dwsim.fossee.aero.iitb.ac.in/nccps-2018' ROOT_URL_VAL = 'http://dwsim.fossee.aero.iitb.ac.in/nccps-2018' #http://127.0.0.1:8000 diff --git a/nccps2018/settings.py b/nccps2018/settings.py index db36bd8..bf7f493 100644 --- a/nccps2018/settings.py +++ b/nccps2018/settings.py @@ -80,11 +80,11 @@ WSGI_APPLICATION = 'nccps2018.wsgi.application' DATABASES = { 'default': { - '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, + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + 'TEST': { + 'NAME': 'mytestdatebase', + }, } } |