Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1491 closed enhancement (fixed)

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

Reported by: anonymous Owned by: Adrian Holovaty
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: no UI/UX: no

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@… 19 years ago.
colour output for django-admin.py
colourful.2.diff (30.4 KB ) - added by plmeister@… 19 years ago.
noticed a small broken part

Download all attachments as: .zip

Change History (3)

by plmeister@…, 19 years ago

Attachment: colourful.diff added

colour output for django-admin.py

by plmeister@…, 19 years ago

Attachment: colourful.2.diff added

noticed a small broken part

comment:1 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

(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