How to handle file submission from normal HTML form

So I have created an HTML form to add Properties to the database and when I submit that form I expect the post data to go under request.POST and files (in my case images) go under request.FILES but the file field is also found in the request.POST…

below are error SrcShot

How is your templates constructed?
It looks like your file is being treated as a “string” normally this happen when you don’t specify a specific configuration on the form html tag, called enctype="multipart/form-data".

Also it would be a good idea, to have this on a Django forms.Form even if you’re not using the automatic rendering.