Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad36388

Browse files
ngnpopecarltongibson
authored andcommitted
[3.0.x] Added documentation extlink for bugs.python.org.
Backport of d02d60e from master
1 parent 0194f0b commit ad36388

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def django_release():
9595
django_next_version = '3.1'
9696

9797
extlinks = {
98+
'bpo': ('https://bugs.python.org/issue%s', 'bpo-'),
9899
'commit': ('https://github.com/django/django/commit/%s', ''),
99100
'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-'),
100101
# A file or directory. GitHub redirects from blob to tree if needed.

docs/releases/1.5.1.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ compatible with Django 1.5, but includes a handful of fixes.
1010
The biggest fix is for a memory leak introduced in Django 1.5. Under certain
1111
circumstances, repeated iteration over querysets could leak memory - sometimes
1212
quite a bit of it. If you'd like more information, the details are in
13-
:ticket:`our ticket tracker <19895>` (and in `a related issue`__ in Python
14-
itself).
15-
16-
__ https://bugs.python.org/issue17468
13+
:ticket:`our ticket tracker <19895>` (and in :bpo:`a related issue <17468>` in
14+
Python itself).
1715

1816
If you've noticed memory problems under Django 1.5, upgrading to 1.5.1 should
1917
fix those issues.

docs/releases/1.6.11.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Last year :func:`~django.utils.html.strip_tags` was changed to work
1313
iteratively. The problem is that the size of the input it's processing can
1414
increase on each iteration which results in an infinite loop in
1515
``strip_tags()``. This issue only affects versions of Python that haven't
16-
received `a bugfix in HTMLParser <https://bugs.python.org/issue20288>`_; namely
17-
Python < 2.7.7 and 3.3.5. Some operating system vendors have also backported
18-
the fix for the Python bug into their packages of earlier versions.
16+
received :bpo:`a bugfix in HTMLParser <20288>`; namely Python < 2.7.7 and
17+
3.3.5. Some operating system vendors have also backported the fix for the
18+
Python bug into their packages of earlier versions.
1919

2020
To remedy this issue, ``strip_tags()`` will now return the original input if
2121
it detects the length of the string it's processing increases. Remember that

docs/releases/1.7.7.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Last year :func:`~django.utils.html.strip_tags` was changed to work
1313
iteratively. The problem is that the size of the input it's processing can
1414
increase on each iteration which results in an infinite loop in
1515
``strip_tags()``. This issue only affects versions of Python that haven't
16-
received `a bugfix in HTMLParser <https://bugs.python.org/issue20288>`_; namely
17-
Python < 2.7.7 and 3.3.5. Some operating system vendors have also backported
18-
the fix for the Python bug into their packages of earlier versions.
16+
received :bpo:`a bugfix in HTMLParser <20288>`; namely Python < 2.7.7 and
17+
3.3.5. Some operating system vendors have also backported the fix for the
18+
Python bug into their packages of earlier versions.
1919

2020
To remedy this issue, ``strip_tags()`` will now return the original input if
2121
it detects the length of the string it's processing increases. Remember that

0 commit comments

Comments
 (0)