<s> from django . core . cache import caches <EOL> from django . core . cache . backends . base import InvalidCacheBackendError <EOL> try : <EOL> cache = caches [ '<STR_LIT>' ] <EOL> except InvalidCacheBackendError : <EOL> cache = caches [ '<STR_LIT:default>' ] </s>
