refactor(settings): remove caching for now 🔨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m59s

This commit is contained in:
2025-07-05 15:02:50 +05:00
parent 3b3e963568
commit 683cfe76f1

View File

@ -147,27 +147,13 @@ DATABASES = {
# More robust caching configuration # More robust caching configuration
CACHES = { # More robust caching configuration
"default": { # CACHES = {
"BACKEND": ( # "default": {
"django_redis.cache.RedisCache" # "BACKEND": "django.core.cache.backends.memcached.PyMemcacheCache",
if not DEBUG # "LOCATION": "unix:/tmp/memcached.sock",
else "django.core.cache.backends.locmem.LocMemCache" # }
), # }
"LOCATION": (
env("REDIS_URL", default="redis://redis:6379/") if not DEBUG else "" # type: ignore
),
"OPTIONS": (
{
"CLIENT_CLASS": (
"django_redis.client.DefaultClient" if not DEBUG else None
),
}
if not DEBUG
else {}
),
}
}
# Password validation # Password validation