from .base import * OTP_BYPASS = True INTERNAL_IPS = [ # ... "127.0.0.1", # ... ] CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", "LOCATION": "redis://127.0.0.1:6379/1", "KEY_PREFIX": "bashgah", "OPTIONS": { "CLIENT_CLASS": "django_redis.client.DefaultClient", } } }