http.QueryDict.__getitem__()

QueryDict.__getitem__(key)

Returns the value for the given key. If the key has more than one value, __getitem__() returns the last value. Raises django.utils.datastructures.MultiValueDictKeyError if the key does not exist. (This is a subclass of Python’s standard KeyError, so you can stick to catching KeyError.)

doc_Django
2016-10-09 18:38:56
Comments
Leave a Comment

Please login to continue.