code: def get_storage(self, name):
          
          cache_result = cache.get(self.get_cache_key(name))
          if cache_result:
              return self.remote
          elif cache_result is None and self.remote.exists(name):
              cache.set(self.get_cache_key(name), True)
              return self.remote
          else:
              return self.local
docs: Returns the storage backend instance responsible for the file
          with the given name (either local or remote). This method is
          used in most of the storage API methods.
  
          :param name: file name
          :type name: str
          :rtype: :class:`~django:django.core.files.storage.Storage`