[3.0.x] Fixed #31029 -- Used more specific links to RFCs.

Backport of ff1b19da67 from master
This commit is contained in:
Baptiste Mispelon 2019-11-23 13:42:57 +01:00 committed by Mariusz Felisiak
parent c0fe08d470
commit 81ddf4b164
7 changed files with 24 additions and 21 deletions

View file

@ -755,8 +755,8 @@ track down every place that the URL might be created. Specify it once, in
.. 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