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

Create FileExtensionValidator for MultiFileField()

abu-yusuf-dev opened this issue · comments

How can you validate file-extensions here?
files = MultiFileField(min_num=1, max_num=7)

I have FileExtensionValidator in my models but it's saving all the files without validating the file-extensions.

So, How can I do that?

Please reopen if still required.