添加针对nameko的rabbitmq配置

This commit is contained in:
ray 2020-01-22 16:25:02 +08:00 committed by tsbc
parent e9fb934446
commit 24530a7b01
1 changed files with 5 additions and 1 deletions

View File

@ -27,7 +27,6 @@ DEBUG = True
ALLOWED_HOSTS = ['*']
# Application definition
INSTALLED_APPS = [
@ -94,6 +93,11 @@ DATABASES = {
}
}
#RabbitMq
RABBITMQ_STATUS = False
RABBITMQ_CONFIG = {'AMQP_URI': "amqp://guest:guest@192.168.72.127:31141"}
# Password validation
# https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators