Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Form encoding should be changed only via HttpRequest, not on GET and …

…POST

directly. 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7c35eee103df3b6f971ef77aa8394c898bf77687 1 parent e7427cb
@malcolmt malcolmt authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 docs/unicode.txt
View
4 docs/unicode.txt
@@ -345,9 +345,7 @@ client.
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).
Please sign in to comment.
Something went wrong with that request. Please try again.