Changes between Initial Version and Version 1 of Ticket #36376


Ignore:
Timestamp:
May 8, 2025, 5:22:10 AM (4 months ago)
Author:
Adam Johnson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36376 – Description

    initial v1  
    11Python 3.14 introduces colorized help to argparse: https://docs.python.org/3.14/library/argparse.html#color
    22
    3 I propose that we enable this attribute for all argument parsers in Django, notably for management commands.
     3I propose that we enable this feature by setting `color=True` for all argument parsers in Django, notably for management commands.
    44
    55Python 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].
Back to Top