Chive / django-multiupload

Dead simple drop-in multi file upload field for Django forms using HTML5's multiple attribute.
MIT License
279 stars 81 forks source link

IntegrityError when implement multiupload #30

Closed valdivieso01 closed 5 years ago

valdivieso01 commented 6 years ago

Hi!

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

the code is: image

image

image

Chive commented 5 years ago

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