Added ALLOWED_HOSTS

This commit is contained in:
Benjamyn 2020-11-03 09:30:15 +11:00
parent 125fe62da0
commit f1cc87c037

View File

@ -25,7 +25,7 @@ SECRET_KEY = 'cq3daur*kk2+*-)@s%wq1c+pc7xi-c1ig@-%wq)m7pn3+zxbre'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['10.6.9.42']
ALLOWED_HOSTS = ['10.6.9.42', 'benjamyn.love', 'localhost']
# Application definition
@ -80,9 +80,9 @@ WSGI_APPLICATION = 'migratorapi.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'migration',
'USER': 'migration',
'PASSWORD': 'migration123',
'NAME': 'devmigs',
'USER': 'devmig',
'PASSWORD': 'XXgDh1i6w8rqp4BG',
'HOST': '127.0.0.1',
'PORT': '3306',
}