#25526 closed Cleanup/optimization (fixed)
Document how to output color from custom management commands
| Reported by: | Baptiste Mispelon | Owned by: | Elena Oat |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | yes | UI/UX: | no |
Description
I think https://docs.djangoproject.com/en/dev/howto/custom-management-commands/ should explain how you can output color from your command.
It basically boils down to documenting BaseCommand.style which should not be too complicated.
Change History (12)
comment:1 by , 10 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Version: | 1.8 → master |
comment:2 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 10 years ago
| Owner: | changed from to |
|---|
comment:4 by , 10 years ago
| Has patch: | set |
|---|---|
| Patch needs improvement: | set |
comment:5 by , 10 years ago
| Patch needs improvement: | unset |
|---|
Note:
See TracTickets
for help on using tickets.
I left some comments for improvement on the pull request.