debug
This commit is contained in:
@@ -131,14 +131,14 @@ else:
|
|||||||
CACHES = PROD_CACHES
|
CACHES = PROD_CACHES
|
||||||
|
|
||||||
# WebSocket 的缓存
|
# WebSocket 的缓存
|
||||||
# CHANNEL_LAYERS = {
|
CHANNEL_LAYERS = {
|
||||||
# "default": {
|
"default": {
|
||||||
# "BACKEND": "channels_redis.core.RedisChannelLayer",
|
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||||
# "CONFIG": {
|
"CONFIG": {
|
||||||
# "hosts": [(os.getenv("REDIS_HOST"), 6379)],
|
"hosts": [(os.getenv("REDIS_HOST"), 6379)],
|
||||||
# },
|
},
|
||||||
# },
|
},
|
||||||
# }
|
}
|
||||||
|
|
||||||
# Password validation
|
# Password validation
|
||||||
# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators
|
# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators
|
||||||
|
|||||||
Reference in New Issue
Block a user