Changes between Initial Version and Version 1 of Ticket #36376
- Timestamp:
- May 8, 2025, 5:22:10 AM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36376 – Description
initial v1 1 1 Python 3.14 introduces colorized help to argparse: https://docs.python.org/3.14/library/argparse.html#color 2 2 3 I propose that we enable this attributefor all argument parsers in Django, notably for management commands.3 I propose that we enable this feature by setting `color=True` for all argument parsers in Django, notably for management commands. 4 4 5 5 Python supports common opt-out environment variables for the feature. I think we’ll need to extend that to also avoid setting the `color` attribute when `DJANGO_COLORS` is set to `nocolor`, [https://docs.djangoproject.com/en/5.2/ref/django-admin/#syntax-coloring as already documented].