summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-05-19 18:35:42 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-05-19 18:35:42 +0000
commit5ab9c3ac82aacd0c82f258d5156d4edd81599812 (patch)
tree1dd2a2da862abf07830d54c9a65075837cc43ec3 /docs
parent9ed4217a57efc498e60bb3a2a10c57acc1ee6962 (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/model-api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 319789dba9..1125d2810f 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -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