Author: gwilson Date: 2009-12-25 22:00:35 -0600 (Fri, 25 Dec 2009) New Revision: 11993
Modified: django/branches/releases/1.1.X/docs/ref/request-response.txt Log: [1.1.X] Fixed #11570 -- Changed output in examples to unicode strings, thanks adamnelson. Backport of r11992 from trunk. Modified: django/branches/releases/1.1.X/docs/ref/request-response.txt =================================================================== --- django/branches/releases/1.1.X/docs/ref/request-response.txt 2009-12-26 03:59:53 UTC (rev 11992) +++ django/branches/releases/1.1.X/docs/ref/request-response.txt 2009-12-26 04:00:35 UTC (rev 11993) @@ -298,9 +298,9 @@ >>> 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 @@ >>> q = QueryDict('a=1&a=2&a=3') >>> q.items() - [('a', '3')] + [(u'a', u'3')] .. method:: QueryDict.iteritems() @@ -329,7 +329,7 @@ >>> q = QueryDict('a=1&a=2&a=3') >>> q.values() - ['3'] + [u'3'] .. method:: QueryDict.itervalues() @@ -369,7 +369,7 @@ >>> 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() -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.