diff options
author | Nick Pope <nick@nickpope.me.uk> | 2021-02-16 10:08:39 +0000 |
---|---|---|
committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2021-02-17 14:27:36 +0100 |
commit | ad36388406195ecddb319fea862298e6c8d27d3b (patch) | |
tree | 008e204610f26712de8c23ecbf6b80a1eac7fdda | |
parent | 0194f0be31b92c8e66636859df618611fb2f4d18 (diff) | |
download | django-ad36388406195ecddb319fea862298e6c8d27d3b.tar.gz |
[3.0.x] Added documentation extlink for bugs.python.org.
Backport of d02d60eb0f032c9395199fb73c6cd29ee9bb2646 from master
-rw-r--r-- | docs/conf.py | 1 | ||||
-rw-r--r-- | docs/releases/1.5.1.txt | 6 | ||||
-rw-r--r-- | docs/releases/1.6.11.txt | 6 | ||||
-rw-r--r-- | docs/releases/1.7.7.txt | 6 |
4 files changed, 9 insertions, 10 deletions
diff --git a/docs/conf.py b/docs/conf.py index 08ae1854a5..5259702629 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -95,6 +95,7 @@ else: django_next_version = '3.1' extlinks = { + 'bpo': ('https://bugs.python.org/issue%s', 'bpo-'), 'commit': ('https://github.com/django/django/commit/%s', ''), 'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-'), # A file or directory. GitHub redirects from blob to tree if needed. diff --git a/docs/releases/1.5.1.txt b/docs/releases/1.5.1.txt index cc961ac304..66d7899762 100644 --- a/docs/releases/1.5.1.txt +++ b/docs/releases/1.5.1.txt @@ -10,10 +10,8 @@ compatible with Django 1.5, but includes a handful of fixes. The biggest fix is for a memory leak introduced in Django 1.5. Under certain circumstances, repeated iteration over querysets could leak memory - sometimes quite a bit of it. If you'd like more information, the details are in -:ticket:`our ticket tracker <19895>` (and in `a related issue`__ in Python -itself). - -__ https://bugs.python.org/issue17468 +:ticket:`our ticket tracker <19895>` (and in :bpo:`a related issue <17468>` in +Python itself). If you've noticed memory problems under Django 1.5, upgrading to 1.5.1 should fix those issues. diff --git a/docs/releases/1.6.11.txt b/docs/releases/1.6.11.txt index 8cf81f89bf..1bf2bf8911 100644 --- a/docs/releases/1.6.11.txt +++ b/docs/releases/1.6.11.txt @@ -13,9 +13,9 @@ Last year :func:`~django.utils.html.strip_tags` was changed to work iteratively. The problem is that the size of the input it's processing can increase on each iteration which results in an infinite loop in ``strip_tags()``. This issue only affects versions of Python that haven't -received `a bugfix in HTMLParser <https://bugs.python.org/issue20288>`_; namely -Python < 2.7.7 and 3.3.5. Some operating system vendors have also backported -the fix for the Python bug into their packages of earlier versions. +received :bpo:`a bugfix in HTMLParser <20288>`; namely Python < 2.7.7 and +3.3.5. Some operating system vendors have also backported the fix for the +Python bug into their packages of earlier versions. To remedy this issue, ``strip_tags()`` will now return the original input if it detects the length of the string it's processing increases. Remember that diff --git a/docs/releases/1.7.7.txt b/docs/releases/1.7.7.txt index f20ee127bc..bfd54563a1 100644 --- a/docs/releases/1.7.7.txt +++ b/docs/releases/1.7.7.txt @@ -13,9 +13,9 @@ Last year :func:`~django.utils.html.strip_tags` was changed to work iteratively. The problem is that the size of the input it's processing can increase on each iteration which results in an infinite loop in ``strip_tags()``. This issue only affects versions of Python that haven't -received `a bugfix in HTMLParser <https://bugs.python.org/issue20288>`_; namely -Python < 2.7.7 and 3.3.5. Some operating system vendors have also backported -the fix for the Python bug into their packages of earlier versions. +received :bpo:`a bugfix in HTMLParser <20288>`; namely Python < 2.7.7 and +3.3.5. Some operating system vendors have also backported the fix for the +Python bug into their packages of earlier versions. To remedy this issue, ``strip_tags()`` will now return the original input if it detects the length of the string it's processing increases. Remember that |