#18553: Django multipart parser creates mutable QueryDict
-------------------------------+--------------------
Reporter: k_bx | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
When you send multipart request (which, unfortunately, is sent every time
your testclient does POST-request
https://code.djangoproject.com/ticket/18552 ), your view will get
request.POST to be QueryDict with request.POST._mutable == True.
This caused me to write test that passes (sends POST-request and modifies
request.POST in view), but production that fails.
--
Ticket URL: <https://code.djangoproject.com/ticket/18553>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.