I am pretty new to Django and I met a problem in handling image upload using ModelForm. My model is as following:
class Project(models.Model): name = models.
OK, thanks everyone. I found myself made a stupid mistake. I should add enctype="multipart/form-data" in the Else, it won't upload the file.
enctype="multipart/form-data"