summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2009-12-26 03:59:53 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2009-12-26 03:59:53 +0000
commit66ef91d02ae43c2b4290ca98ce13d098a7953b90 (patch)
tree3005eaecdea95d2cda71fe65a2a4d4b1850da0a2
parentc6fa4936b327f969cfd87517af2aa7c17980b0be (diff)
Fixed #11570 -- Changed output in examples to unicode strings, thanks adamnelson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/ref/request-response.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 7ef42b5f15..9dcf004149 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -298,9 +298,9 @@ a subclass of dictionary. Exceptions are outlined here:
>>> q = q.copy() # to make it mutable
>>> q.update({'a': '2'})
>>> q.getlist('a')
- ['1', '2']
+ [u'1', u'2']
>>> q['a'] # returns the last
- ['2']
+ [u'2']
.. method:: QueryDict.items()
@@ -309,7 +309,7 @@ a subclass of dictionary. Exceptions are outlined here:
>>> q = QueryDict('a=1&a=2&a=3')
>>> q.items()
- [('a', '3')]
+ [(u'a', u'3')]
.. method:: QueryDict.iteritems()
@@ -329,7 +329,7 @@ a subclass of dictionary. Exceptions are outlined here:
>>> q = QueryDict('a=1&a=2&a=3')
>>> q.values()
- ['3']
+ [u'3']
.. method:: QueryDict.itervalues()
@@ -369,7 +369,7 @@ In addition, ``QueryDict`` has the following methods:
>>> q = QueryDict('a=1&a=2&a=3')
>>> q.lists()
- [('a', ['1', '2', '3'])]
+ [(u'a', [u'1', u'2', u'3'])]
.. method:: QueryDict.urlencode()