#19877: call_command provides no method to set output style -------------------------------------+------------------------------------- Reporter: josh@… | Owner: jose Type: New feature | Status: assigned Component: Core (Management | Version: 1.4 commands) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: | Needs documentation: 0 Has patch: 0 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by jose): Hello, I think I've got this fixed. Now, a new default option `--no-style` is available in `BaseCommand`, so you can pass it to avoid using the `color_style()`. At this point, I've fixed some regression tests in `admin_script` tests module, but not sure if this is enough or I should write a new unit test for this option. If someone can tell me something about this, it will be great. For now, I ran the whole tests and there are no fails or warnings concerning my code. You can view all that in my Django fork in Github https://github.com/jose- lpa/django Should I make a pull request now? (Sorry, this would be my very first contribution to Django code, so not sure about how to proceed). -- Ticket URL: <https://code.djangoproject.com/ticket/19877#comment:3> 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. For more options, visit https://groups.google.com/groups/opt_out.