From 5ab9c3ac82aacd0c82f258d5156d4edd81599812 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 19 May 2007 18:35:42 +0000 Subject: [PATCH] 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 --- docs/model-api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/model-api.txt b/docs/model-api.txt index 319789dba9b..1125d2810fe 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -1760,7 +1760,7 @@ But this template code is good:: {{ object.name }} .. 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