Skip to content Skip to sidebar Skip to footer

Django Image Uploading - Uploads Do Not Work

I am currently working on a Django app and I have come across an error that I am unsure how to fix. I have looked about online but still haven't found an answer that suits my code.

Solution 1:

You need to add enctype="multipart/form-data" to your <form> element in the template, otherwise the browser can't send files to the server.


Post a Comment for "Django Image Uploading - Uploads Do Not Work"