Author: mtredinnick
Date: 2007-07-04 20:25:05 -0500 (Wed, 04 Jul 2007)
New Revision: 5614
Modified:
django/trunk/docs/unicode.txt
Log:
Form encoding should be changed only via HttpRequest, not on GET and POST
directly.
Modified: django/trunk/docs/unicode.txt
===================================================================
--- django/trunk/docs/unicode.txt 2007-07-04 15:27:01 UTC (rev 5613)
+++ django/trunk/docs/unicode.txt 2007-07-05 01:25:05 UTC (rev 5614)
@@ -345,9 +345,7 @@
By default, the ``DEFAULT_CHARSET`` setting is used as the assumed encoding
for form data. If you need to change this for a particular form, you can set
-the ``encoding`` attribute on the ``GET`` and ``POST`` data structures. For
-convenience, changing the ``encoding`` property on an ``HttpRequest`` instance
-does this for you. For example::
+the ``encoding`` attribute on an ``HttpRequest`` instance. For example::
def some_view(request):
# We know that the data must be encoded as KOI8-R (for some reason).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---