Chive / django-multiupload

Dead simple drop-in multi file upload field for Django forms using HTML5's multiple attribute.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IntegrityError when implement multiupload

valdivieso01 opened this issue · comments

Hi!

When tray to upload files in my project show this error:
image

the code is:
image

image

image

Hi @valdivieso01

That's an issue in your code, the line you highlighted should include the set argument

Guide.objects.create(file=each, set=something)

However closing this because it's not an issue with django-multiupload.

Thanks