module documentation

Base classes for writing management commands (named commands which can be executed through ``django-admin`` or ``manage.py``).

Class AppCommand A management command which takes one or more installed application labels as arguments, and does something with each of them.
Class BaseCommand The base class from which all management commands ultimately derive.
Class CommandParser Customized ArgumentParser class to improve some error messages and prevent SystemExit in several occasions, as SystemExit is unacceptable when a command is called programmatically.
Class DjangoHelpFormatter Customized formatter so that command-specific arguments appear in the --help output before arguments common to all commands.
Class LabelCommand A management command which takes one or more arbitrary arguments (labels) on the command line, and does something with each of them.
Class OutputWrapper Wrapper around stdout/stderr
Exception CommandError Exception class indicating a problem while executing a management command.
Exception SystemCheckError The system check framework detected unrecoverable errors.
Function handle_default_options Include any default options that all commands should accept here so that ManagementUtility can handle them before searching for user commands.
Function no_translations Decorator that forces a command to run with translations deactivated.
Constant ALL_CHECKS Undocumented
def handle_default_options(options): (source)

Include any default options that all commands should accept here so that ManagementUtility can handle them before searching for user commands.

def no_translations(handle_func): (source)

Decorator that forces a command to run with translations deactivated.

ALL_CHECKS: str = (source)

Undocumented

Value
'__all__'