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:
Malcolm Tredinnick 2007-05-19 18:35:42 +00:00
parent 9ed4217a57
commit 5ab9c3ac82
1 changed files with 1 additions and 1 deletions

View File

@ -1760,7 +1760,7 @@ But this template code is good::
<a href="{{ object.get_absolute_url }}">{{ object.name }}</a>
.. 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
URL-encoded, if necessary. Code and templates using ``get_absolute_url()``
should be able to use the result directly without needing to do any