modified the layout of setting

modified the setting for deploy
This commit is contained in:
David 2019-05-09 10:49:19 +08:00
parent 62e6b48b93
commit 7d808096c7
3 changed files with 4 additions and 6 deletions

View File

@ -91,7 +91,7 @@ DATABASES = {
'NAME': 'bookingservice',
'USER': 'postgres',
'PASSWORD': 'sduwhsduwh',
'HOST': '172.17.0.1',
'HOST': 'BookingServicePostgresql',
'PORT': '5432',
}
}
@ -159,15 +159,13 @@ SILENCED_SYSTEM_CHECKS = [
]
# COOKIE
SESSION_COOKIE_HTTPONLY = False
# SLASH
APPEND_SLASH = True
# CELERY
CELERY_BROKER_URL = 'amqp://guest:guest@davidz.cn' if DEBUG else 'amqp://guest:guest@172.17.0.1'
CELERY_BROKER_URL = 'amqp://guest:guest@davidz.cn' if DEBUG else 'amqp://admin:sduwhsduwh@BookingServiceRabbitmq'
CELERY_TIMEZONE = 'Asia/Shanghai'

View File

@ -3,7 +3,7 @@
<a-col
:xs="{span: 24}"
:sm="{span: 20}"
:xl="{span: 18}">
:xl="{span: 16}">
<a-form
:form="form"
@submit="handleSubmit">

View File

@ -3,7 +3,7 @@
<a-col
:xs="{span: 24}"
:sm="{span: 20}"
:xl="{span: 18}">
:xl="{span: 16}">
<a-divider>主题</a-divider>
<a-radio-group
name="theme"