()
Get the redis cache, or just the default if it doesn't exist
Get the redis cache, or just the default if it doesn't exist
Get the redis cache or just the default if it doesn t exist
def get_redis_default_cache():
    """
    Get the redis cache, or just the default if it doesn't exist
    """
    try:
        return cache.caches['redis']
    except (InvalidCacheBackendError, ValueError):
        return cache.cache
def get_redis_default_cache ( ) : try : return cache . caches [ 'redis' ] except ( InvalidCacheBackendError , ValueError ) : return cache . cache