Opened 4 years ago
Closed 4 years ago
#31648 closed Bug (invalid)
'WSGIRequest' attribute not working
Reported by: | natnaelyazachew11 | Owned by: | nobody |
---|---|---|---|
Component: | File uploads/storage | Version: | 3.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The problem seems to be happening when I use the request.FILES
attribute of WSGIRequest.
When I am trying to upload an image and update my old model object it doesn't work it doesn't show any errors but it doesn't update my model and after a lot's of try I know the problem was with the modelfield if I use models.ImageField
it doesn't update but when I use models.FileField
for my Images it updates i don't what is wrong but request.FILES
only work for file uploads and in your documentation I can't find any thing on how to get uploaded Images.
If you can add uploaded images to request.FILES
please help me
Please use one of support channels.