1. Kai Diefenbach
  2. django-lfs
  3. Issues
Issue #150 resolved

Payment 's image file can't be deleted when you checked 'Delete image check box' and click "SAVE PAYMENT METHOD" button

Frank Feng
created an issue

payment.py:

Add following lines in function "save_payment_method_data(request, payment_method_id)" after payment_form.save() to fixed:

if request.POST.get("delete_image"):
payment_method.image.delete()

Comments (1)

  1. Log in to comment