Hi,
Here is the link to the Django docs where it is explained how to handle
multiple file uploads with FileInput. Try to use the example from the docs
as a starting point.
https://docs.djangoproject.com/en/5.0/topics/http/file-uploads/#uploading-multiple-files
Best regards,
--
Miroslav Milic
O
hello i have this error , i want to uppload multiple django image
ValueError: FileInput doesn't support uploading multiple files.
any one can help me
class FormImages(ModelForm):
multiple_image= forms.ImageField(widget=forms.FileInput(attrs= {
'multiple': True}))
class Meta:
2 matches
Mail list logo