Changeset 6155
- Timestamp:
- 09/13/07 22:17:46 (1 year ago)
- Files:
-
- django/trunk/docs/request_response.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/request_response.txt
r5846 r6155 184 184 * ``__getitem__(key)`` -- Returns the value for the given key. If the key 185 185 has more than one value, ``__getitem__()`` returns the last value. 186 Raises ``django.utils.datastructure.MultiValueDictKeyError`` if the key 187 does not exist (fortunately, this is a subclass of Python's standard 188 ``KeyError``, so you can stick to catching ``KeyError``). 186 189 187 190 * ``__setitem__(key, value)`` -- Sets the given key to ``[value]``
