Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1491 closed enhancement (fixed)

[patch] Made django.core.management output colourful SQL and errors

Reported by: anonymous Owned by: adrian
Component: Core (Management commands) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

django-admin now outputs all its SQL in greens and yellows, and errors in red.

the coloured output is disabled if it detects that sys.stdout is not a tty, or if it's running on win32

Attachments (2)

colourful.diff (30.9 KB) - added by plmeister@… 9 years ago.
colour output for django-admin.py
colourful.2.diff (30.4 KB) - added by plmeister@… 9 years ago.
noticed a small broken part

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by plmeister@…

colour output for django-admin.py

Changed 9 years ago by plmeister@…

noticed a small broken part

comment:1 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [2585]) magic-removal: Fixed #1491 -- Added nice terminal colors to django-admin SQL output. Thanks, plmeister@…

Note: See TracTickets for help on using tickets.
Back to Top