summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2011-08-20 19:28:25 +0000
committerTimo Graham <timograham@gmail.com>2011-08-20 19:28:25 +0000
commit6f9d250698b55a021c67bd3c9e22c70fd52846f4 (patch)
treeb5f38008c2686bd38c88482f923f5310a331c127
parent329d80faabc05ef896337b2f7bebbd60100a03cd (diff)
[1.3.X] Fixed #16654 - Syntax error in reverse() example; thanks jedie.
Backport of r16630 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/topics/http/urls.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt
index d721012d3e..1caa801c5d 100644
--- a/docs/topics/http/urls.txt
+++ b/docs/topics/http/urls.txt
@@ -820,7 +820,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