Fix updating immutable request dictionary.
Django's `QueryDict`s are immutable during normal running, and so they must be copied if any updates are to be made to them. In testing, though, `request.DATA._mutable` is `True`, so tests can falsely pass.
Showing
Please
register
or
sign in
to comment