Opened 5 years ago
Last modified 5 years ago
#31924 closed New feature
Support --force-color for runserver — at Initial Version
Description ¶
Currently, the --force-color
option doesn't work for the runserver
management command. In my own experimentation, I was able to force color output by changing self.style = color_style()
to self.style = color_style(force_color=True)
in django.utils.log.ServerFormatter. I can of course achieve this by using my own django.server formatter class, but it would be convenient to have it built in.
Note:
See TracTickets
for help on using tickets.