diff options
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', + }, } } |