project create qilindi

This commit is contained in:
Husanjonazamov
2026-02-10 17:19:59 +05:00
commit 8182b2bd72
158 changed files with 6942 additions and 0 deletions

12
config/conf/channels.py Normal file
View File

@@ -0,0 +1,12 @@
# type: ignore
from config.env import env
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels_redis.core.RedisChannelLayer",
"CONFIG": {
"hosts": [(env.str("REDIS_HOST", "redis"), env.int("REDIS_PORT", 6379))],
},
},
}