class QueryDict
[source]
In an 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 <select multiple>
, pass multiple values for the same key.
The QueryDict
s at request.POST
and request.GET
will be immutable when accessed in a normal request/response cycle. To get a mutable version you need to use .copy()
.
Please login to continue.