summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2019-11-23 13:42:57 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-11-28 08:00:49 +0100
commit019a1b9274c645db82593bc5898a279d134b464b (patch)
treebc94f1d21a9266c1eb7c7e43286d2cd46e4c3ff5 /docs/ref/models
parent57f5a7e36b514e078fc92f9014771f94b945acb4 (diff)
[2.2.x] Fixed #31029 -- Used more specific links to RFCs.
Backport of ff1b19da6761217ed1b14cc7e94c6438903565d8 from master
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/instances.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index edc4459f1c..1b518ebf30 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -755,8 +755,8 @@ in ``get_absolute_url()`` and have all your other code call that one place.
.. note::
The string you return from ``get_absolute_url()`` **must** contain only
- ASCII characters (required by the URI specification, :rfc:`2396`) and be
- URL-encoded, if necessary.
+ ASCII characters (required by the URI specification, :rfc:`2396#section-2`)
+ and be URL-encoded, if necessary.
Code and templates calling ``get_absolute_url()`` should be able to use the
result directly without any further processing. You may wish to use the