Class QueryDict

A specialized MultiValueDict which represents a query string.

Declaration

class QueryDict(MultiValueDict)
source link

Documentation

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 <select multiple> field.

By default QueryDicts are immutable, though the copy() method
will always return a mutable copy.

Both keys and values set on this class are converted from the given encoding
(DEFAULT_CHARSET by default) to str.

Methods

Class methods

Inherited methods

Reexports