From c673bd1c4b9b1bcc8ce6de00ecb7df13b76f9e6c Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Sat, 20 Aug 2011 19:27:58 +0000 Subject: [PATCH] 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 --- docs/topics/http/urls.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index f06dbe1506..4bb3b78d97 100644 --- a/docs/topics/http/urls.txt +++ b/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 `. 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