BO 1.23+3 module controlling fixes
This commit is contained in:
@@ -28,7 +28,7 @@ SECRET_KEY = '9874959872==9847588jkklnkln$asdf' #os.environ['DJANGO_KEY']
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = ['62.171.188.119', 'localhost', 'andio.eu', 'aitrainer.info','aitrainer.app']
|
||||
ALLOWED_HOSTS = ['62.171.188.119', 'localhost', 'andio.eu', 'aitrainer.info','aitrainer.app', 'admin.aitrainer.info']
|
||||
|
||||
# Application definition
|
||||
|
||||
@@ -89,10 +89,18 @@ DATABASES = {
|
||||
'PASSWORD': 'andio2009',
|
||||
'HOST': '62.171.188.119',
|
||||
'PORT': 33060
|
||||
},
|
||||
'live': {
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 'aitrainer',
|
||||
'USER': 'aitrainer',
|
||||
'PASSWORD': 'andio2009',
|
||||
'HOST': '62.171.188.119',
|
||||
'PORT': 33060
|
||||
}
|
||||
}
|
||||
|
||||
DATABASE_ROUTERS = ['aitrainer_backoffice.db_router.TestRouter']
|
||||
DATABASE_ROUTERS = ['aitrainer_backoffice.aitrainer_backoffice.db_router.TestRouter']
|
||||
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators
|
||||
|
||||
Reference in New Issue
Block a user