[Fixed]-This field is required error even after uploading the file

1👍

Makes sure you have set up the enctype for your form in the template.

<form enctype="multipart/form-data" method="post" action="/foo/">

See the docs on binding uploaded files to a form for more info.

Leave a comment