Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: fd4ccd045cf8edf0bf10ee0c576c7b7c5819170c
      
https://github.com/django/django/commit/fd4ccd045cf8edf0bf10ee0c576c7b7c5819170c
  Author: Duncan Parkes <[email protected]>
  Date:   2014-06-24 (Tue, 24 Jun 2014)

  Changed paths:
    M django/http/request.py
    M docs/releases/1.8.txt
    M tests/requests/tests.py

  Log Message:
  -----------
  Fixed #22799 -- Made GET and POST on HttpRequest QueryDicts, and FILES a 
MultiValueDict.

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).


-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/53aa2ef923375_3655c01d40580a8%40hookshot-fe2-cp1-prd.iad.github.net.mail.
For more options, visit https://groups.google.com/d/optout.

Reply via email to