from django.core.cache.backends.base import InvalidCacheBackendError, CacheKeyWarning and BaseCache into default name space.
from django . core . cache . backends . base import ( InvalidCacheBackendError , CacheKeyWarning , BaseCache )