Closed abu-yusuf-dev closed 3 years ago
How can you validate file-extensions here? files = MultiFileField(min_num=1, max_num=7)
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.
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?