Django form upload request.files empty
问题 I havent posted a question here before, read mostly. Im learning Django and got file upload working before . But now i've broke it somehow. request.FILES is empty when im uploading but i can see the filename in request.raw_post_data. here is the code for the html <form enctype="multipart/form-data" method="post" action="">{% csrf_token %} {{ form.as_p }} <input type="submit" name="submit" value="Upload Photo" /> </form the form class PhotoUploadForm(forms.Form): title = forms.CharField(max