Permalink
Browse files

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
  • Loading branch information...
1 parent 2ac0b97 commit c673bd1c4b9b1bcc8ce6de00ecb7df13b76f9e6c @timgraham timgraham committed Aug 20, 2011
Showing with 1 addition and 1 deletion.
  1. +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

0 comments on commit c673bd1

Please sign in to comment.