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

Description not to be updated when update attachments

Anonymous created an issue

In attachments.py must add these lines in def update_attachments(request, product_id):

        elif key.startswith("description-"):
            try:
                id = key.split("-")[1]
                attachment = ProductAttachment.objects.get(pk=id)
            except (IndexError, ObjectDoesNotExist):
                pass
            else:
                attachment.description = value
                attachment.save()