File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ def django_release():
95
95
django_next_version = '3.1'
96
96
97
97
extlinks = {
98
+ 'bpo' : ('https://bugs.python.org/issue%s' , 'bpo-' ),
98
99
'commit' : ('https://github.com/django/django/commit/%s' , '' ),
99
100
'cve' : ('https://nvd.nist.gov/vuln/detail/CVE-%s' , 'CVE-' ),
100
101
# A file or directory. GitHub redirects from blob to tree if needed.
Original file line number Diff line number Diff line change @@ -10,10 +10,8 @@ compatible with Django 1.5, but includes a handful of fixes.
10
10
The biggest fix is for a memory leak introduced in Django 1.5. Under certain
11
11
circumstances, repeated iteration over querysets could leak memory - sometimes
12
12
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).
17
15
18
16
If you've noticed memory problems under Django 1.5, upgrading to 1.5.1 should
19
17
fix those issues.
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ Last year :func:`~django.utils.html.strip_tags` was changed to work
13
13
iteratively. The problem is that the size of the input it's processing can
14
14
increase on each iteration which results in an infinite loop in
15
15
``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.
19
19
20
20
To remedy this issue, ``strip_tags()`` will now return the original input if
21
21
it detects the length of the string it's processing increases. Remember that
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ Last year :func:`~django.utils.html.strip_tags` was changed to work
13
13
iteratively. The problem is that the size of the input it's processing can
14
14
increase on each iteration which results in an infinite loop in
15
15
``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.
19
19
20
20
To remedy this issue, ``strip_tags()`` will now return the original input if
21
21
it detects the length of the string it's processing increases. Remember that
You can’t perform that action at this time.
0 commit comments