diff --git a/django/http/request.py b/django/http/request.py index 250db32bf2..097bcff310 100644 --- a/django/http/request.py +++ b/django/http/request.py @@ -299,12 +299,19 @@ class HttpRequest(object): class QueryDict(MultiValueDict): """ - A specialized MultiValueDict that takes a query string when initialized. - This is immutable unless you create a copy of it. + A specialized MultiValueDict which represents a query string. - Values retrieved from this class are converted from the given encoding + A QueryDict can be used to represent GET or POST data. It subclasses + MultiValueDict since keys in such data can be repeated, for instance + in the data from a form with a ``, pass multiple values for the same key. +In an :class:`HttpRequest` object, the ``GET`` and ``POST`` attributes are +instances of ``django.http.QueryDict``, a dictionary-like class customized to +deal with multiple values for the same key. This is necessary because some HTML +form elements, notably ``