• Duncan Parkes's avatar
    Fixed #22799 -- Made GET and POST on HttpRequest QueryDicts, and FILES a MultiValueDict. · fd4ccd04
    Duncan Parkes yazdı
    Previously, GET, POST, and FILES on an HttpRequest were created in
    the __init__ method as dictionaries. This was not something you would
    usually notice causing trouble in production as you'd only see a
    WSGIRequest, but in testing using the test client, calling .getlist
    on GET, POST, or FILES for a request with no get/post data resulted in
    an AttributeError.
    
    Changed GET and POST on an HttpRequest object to be mutable
    QueryDicts (mutable because the Django tests, and probably many
    third party tests, were expecting it).
    fd4ccd04
Adı
Son kayıt (commit)
Son güncelleme
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.rst Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...