Example #1
0
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)
Example #2
0
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)
Example #3
-1
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)