Update conf_e.py

This commit is contained in:
曹前明 2023-12-07 10:01:37 +08:00 committed by GitHub
parent 80f789bab9
commit bdb7a9ec2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# 基本配置
SECRET_KEY = 'xxxxxx'
BASE_PROJECT_CODE = 'xxxxxx' # 一旦配置不要轻易改变
BASE_URL = 'http://127.0.0.1:8000'
BASE_URL_IN = 'http://127.0.0.1:8000'
BASE_URL_OUT = 'http://127.0.0.1:8000'
@ -13,6 +14,9 @@ EMAIL_USE_TLS = True
# 数据库配置
CACHE_LOCATION = "redis://127.0.0.1:6379/2"
CELERY_BROKER_URL = "redis://127.0.0.1:6379/3"
CELERY_TASK_DEFAULT_QUEUE = BASE_PROJECT_CODE
DEBUG = True
DATABASES = {
'default': {