Author: timo
Date: 2011-08-20 12:28:25 -0700 (Sat, 20 Aug 2011)
New Revision: 16631
Modified:
django/branches/releases/1.3.X/docs/topics/http/urls.txt
Log:
[1.3.X] Fixed #16654 - Syntax error in reverse() example; thanks jedie.
Backport of r16630 from trunk.
Modified: django/branches/releases/1.3.X/docs/topics/http/urls.txt
===================================================================
--- django/branches/releases/1.3.X/docs/topics/http/urls.txt 2011-08-20
19:27:58 UTC (rev 16630)
+++ django/branches/releases/1.3.X/docs/topics/http/urls.txt 2011-08-20
19:28:25 UTC (rev 16631)
@@ -820,7 +820,7 @@
The string returned by :meth:`~django.core.urlresolvers.reverse` is already
:ref:`urlquoted <uri-and-iri-handling>`. For example::
- >>> reverse('cities', args=u'Orléans')
+ >>> reverse('cities', args=[u'Orléans'])
'.../Orl%C3%A9ans/'
Applying further encoding (such as :meth:`~django.utils.http.urlquote` or
--
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.