def get_profile_image_storage():
 config = settings.PROFILE_IMAGE_BACKEND
 storage_class = get_storage_class(config['class'])
 return storage_class(**config['options'])

def get_profile_image_storage ( ) : config = settings . PROFILE_IMAGE_BACKEND storage_class = get_storage_class ( config [ 'class' ] ) return storage_class ( ** config [ 'options' ] )
configures and returns a django storage instance that can be used to physically locate .