def delete(request, image_id):
    imageUtils.delete_image_by_id(image_id)
    messages.info(request, 'Image deleted!')
    return HttpResponseRedirect('/images/')
def delete(request, image_id):
    imageUtils.delete_image_by_id(image_id)
    messages.info(request, 'Image deleted!')
    return HttpResponseRedirect('/images/')