Changeset 5845
- Timestamp:
- 08/11/07 04:47:38 (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
r5844 r5845 38 38 elif request.method == 'POST': 39 39 do_something_else() 40 41 ``encoding`` 42 A string representing the current encoding used to decode form submission 43 data (or ``None``, which means the ``DEFAULT_CHARSET`` setting is used). 44 You can write to this attribute to change the encoding used when accessing 45 the form data. Any subsequent attribute accesses (such as reading from 46 ``GET`` or ``POST``) will use the new ``encoding`` value. Useful if you 47 know the form data is not in the ``DEFAULT_CHARSET`` encoding. 40 48 41 49 ``GET``
