Opened 2 hours ago
#35935 assigned Cleanup/optimization
sqlmigrate prevents normal colorization of system checks
Reported by: | Jacob Walls | Owned by: | Jacob Walls |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
Severity: | Normal | Keywords: | no_color |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
sqlmigrate
forces no_color=True
for the sake of not colorizing the sql keywords BEGIN;
and COMMIT;
, but this has the side effect of preventing system check output from being colorized.
(To reproduce, begin with a project that will emit a system check, and run sqlmigrate.)
Suggesting a small PR to preserve the non-colorization of BEGIN;
and COMMIT;
while still colorizing system checks.
Note:
See TracTickets
for help on using tickets.