Author: timo
Date: 2011-08-20 12:27:58 -0700 (Sat, 20 Aug 2011)
New Revision: 16630

Modified:
   django/trunk/docs/topics/http/urls.txt
Log:
Fixed #16654 - Syntax error in reverse() example; thanks jedie.

Modified: django/trunk/docs/topics/http/urls.txt
===================================================================
--- django/trunk/docs/topics/http/urls.txt      2011-08-20 19:23:16 UTC (rev 
16629)
+++ django/trunk/docs/topics/http/urls.txt      2011-08-20 19:27:58 UTC (rev 
16630)
@@ -826,7 +826,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.

Reply via email to