Added ALLOWED_HOSTS
This commit is contained in:
parent
125fe62da0
commit
f1cc87c037
@ -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',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user