#25439: Add `SUCCESS` style to termcolor palettes -------------------------+------------------------------------------------- Reporter: | Owner: nobody Deacalion | Type: New | Status: new feature | Component: | Version: 1.8 Utilities | Severity: Normal | Keywords: termcolor termcolour colors colours Triage Stage: | Has patch: 0 Unreviewed | Easy pickings: 0 | UI/UX: 0 -------------------------+------------------------------------------------- I've just created a management command that shows if something was successful or whether an error was encountered trying to perform the task. I looked at the palettes in "django/utils/termcolors.py" to find a bold red for displaying the error and found it was called "ERROR".
However, the only bold green style I found was "MIGRATE_SUCCESS", but it feels odd using this in my management command since it has nothing to do with migrations. Could I add a generic "SUCCESS" style that is the same as "MIGRATE_SUCCESS" or should these styles not be used by third party management commands? -- Ticket URL: <https://code.djangoproject.com/ticket/25439> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/052.2a380f3a8b1056e8fc104211369609de%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.