def get_image_path3(instance, filename): extra_path = 'collection/pattern/%s/' % (instance.id or 0) return get_image_path(instance, filename, extra_path=extra_path)
def get_image_path2(instance, filename): extra_path = 'collection/compositions/%s/' % (instance.id or 0) return get_image_path(instance, filename, extra_path=extra_path)
def get_image_path2(instance, filename): extra_path = 'special_offer/logos/%s/' % (instance.id or 0) return get_image_path(instance, filename, extra_path=extra_path)