module documentation

Sets up the terminal color scheme.

Class Style Undocumented
Function color_style Return a Style object from the Django color scheme.
Function make_style Create a Style object from the given config_string.
Function no_style Return a Style object with no color scheme.
Function supports_color Return True if the running system's terminal supports color, and False otherwise.
def color_style(force_color=False): (source)

Return a Style object from the Django color scheme.

def make_style(config_string=''): (source)

Create a Style object from the given config_string. If config_string is empty django.utils.termcolors.DEFAULT_PALETTE is used.

@functools.lru_cache(maxsize=None)
def no_style(): (source)

Return a Style object with no color scheme.

def supports_color(): (source)

Return True if the running system's terminal supports color, and False otherwise.