Browse Source

Fixed #16654 - Syntax error in reverse() example; thanks jedie.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Timo Graham 13 years ago
parent
commit
c673bd1c4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/topics/http/urls.txt

+ 1 - 1
docs/topics/http/urls.txt

@@ -826,7 +826,7 @@ namespaces into URLs on specific application instances, according to the
     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