diff options
| author | Skyiesac <jainsachi1202@gmail.com> | 2025-12-18 16:35:38 +0530 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-12-22 14:05:37 -0500 |
| commit | b0befe1d40fcfef3086472419ae2ce9c0a5f1610 (patch) | |
| tree | c7e943f780b2ee1c2665a930f979e4842c28035a /docs | |
| parent | ba7f49c32118ecbe03c53414c71caafd2d5d2bd2 (diff) | |
[6.0.x] Fixed #36376 -- Fixed --no-color for command help in Python 3.14+.
https://github.com/python/cpython/pull/136809 made `color` default to
True in ArgumentParser.
Backport of d0d85cd165e54582cce98cf685252e771460a9d4 from main.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.2.10.txt | 4 | ||||
| -rw-r--r-- | docs/releases/6.0.1.txt | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/releases/5.2.10.txt b/docs/releases/5.2.10.txt index 35626cfedc..0b7ab06d54 100644 --- a/docs/releases/5.2.10.txt +++ b/docs/releases/5.2.10.txt @@ -9,4 +9,6 @@ Django 5.2.10 fixes several bugs in 5.2.9. Bugfixes ======== -* ... +* Fixed a bug where management command colorized help (introduced in + Python 3.14) ignored the :option:`--no-color` option and the + :envvar:`DJANGO_COLORS` setting (:ticket:`36376`). diff --git a/docs/releases/6.0.1.txt b/docs/releases/6.0.1.txt index a84d49b07a..36e533a888 100644 --- a/docs/releases/6.0.1.txt +++ b/docs/releases/6.0.1.txt @@ -16,3 +16,7 @@ Bugfixes * Fixed a regression in Django 6.0 that prevented changing the name of a :class:`~django.db.models.ManyToManyField` from taking effect when applying migrations (:ticket:`36800`). + +* Fixed a bug where management command colorized help (introduced in + Python 3.14) ignored the :option:`--no-color` option and the + :envvar:`DJANGO_COLORS` setting (:ticket:`36376`). |
