Fixed #4334 -- Fixed typo in model-api.txt. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9ed4217a57
commit
5ab9c3ac82
|
@ -1760,7 +1760,7 @@ But this template code is good::
|
||||||
<a href="{{ object.get_absolute_url }}">{{ object.name }}</a>
|
<a href="{{ object.get_absolute_url }}">{{ object.name }}</a>
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
The string you return from ``get_absolute_url()`` must be use only ASCII
|
The string you return from ``get_absolute_url()`` must contain only ASCII
|
||||||
characters (required by the URI spec, `RFC 2396`_) that have been
|
characters (required by the URI spec, `RFC 2396`_) that have been
|
||||||
URL-encoded, if necessary. Code and templates using ``get_absolute_url()``
|
URL-encoded, if necessary. Code and templates using ``get_absolute_url()``
|
||||||
should be able to use the result directly without needing to do any
|
should be able to use the result directly without needing to do any
|
||||||
|
|
Loading…
Reference in New Issue