From c2cdd2d4b43e65d0b7e900fd5e12f6abd4e1e29c Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 20 May 2007 20:59:24 +0000 Subject: newforms-admin: Merged to [5300] git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5301 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/model-api.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/model-api.txt') diff --git a/docs/model-api.txt b/docs/model-api.txt index 961269aebd..1125d2810f 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -1759,6 +1759,15 @@ But this template code is good:: {{ object.name }} +.. note:: + 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 + further processing. + +.. _RFC 2396: http://www.ietf.org/rfc/rfc2396.txt + The ``permalink`` decorator ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3