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
This commit is contained in:
parent
2ac0b97d43
commit
c673bd1c4b
|
@ -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
|
The string returned by :meth:`~django.core.urlresolvers.reverse` is already
|
||||||
:ref:`urlquoted <uri-and-iri-handling>`. For example::
|
:ref:`urlquoted <uri-and-iri-handling>`. For example::
|
||||||
|
|
||||||
>>> reverse('cities', args=u'Orléans')
|
>>> reverse('cities', args=[u'Orléans'])
|
||||||
'.../Orl%C3%A9ans/'
|
'.../Orl%C3%A9ans/'
|
||||||
|
|
||||||
Applying further encoding (such as :meth:`~django.utils.http.urlquote` or
|
Applying further encoding (such as :meth:`~django.utils.http.urlquote` or
|
||||||
|
|
Loading…
Reference in New Issue