Django

Code

Changeset 5614

Show
Ignore:
Timestamp:
07/04/07 20:25:05 (2 years ago)
Author:
mtredinnick
Message:

Form encoding should be changed only via HttpRequest, not on GET and POST
directly.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/unicode.txt

    r5612 r5614  
    346346By default, the ``DEFAULT_CHARSET`` setting is used as the assumed encoding 
    347347for form data. If you need to change this for a particular form, you can set 
    348 the ``encoding`` attribute on the ``GET`` and ``POST`` data structures. For 
    349 convenience, changing the ``encoding`` property on an ``HttpRequest`` instance 
    350 does this for you. For example:: 
     348the ``encoding`` attribute on an ``HttpRequest`` instance. For example:: 
    351349 
    352350    def some_view(request):