Django Colored Output in PyCharm Run Configurations

Django Colored Output in PyCharm Run Configurations

August 16, 2022
Development Environment
PyCharm

Starting using PyCharm IDE for Django development you migt face with issue that default output of the PyCharm “Run Configuration” or “Services” panes colored by red regardless is it error or info line.

PyCharm RunConfiguration Red Coloring

You need to add this file colored_logger.py to the app directory (same directory where settings.py stored) and import it inside the settings.py file

import app.colored_logger

Your output will become PyCharm RunConfiguration Red Coloring

Comments