django_prodserver.management.commands package

Submodules

django_prodserver.management.commands.devserver module

class django_prodserver.management.commands.devserver.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: Command

Class to override the name of ‘runserver’.

handle(*args: Any, **kwargs: Any) None[source]

Override this to provide the deprecation message.

django_prodserver.management.commands.prodserver module

class django_prodserver.management.commands.prodserver.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: Command

Deprecated alias for the server management command.

run_from_argv(argv: list[str]) None[source]

Emit a deprecation notice, then delegate to the server command.

django_prodserver.management.commands.server module

class django_prodserver.management.commands.server.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: BaseProcessCommand

The main server command.

backend_base_class

alias of BaseServerBackend

help = 'Start a configured production server process.'
process_label: str = 'server'

Human readable noun for the kind of process managed (e.g. "server").

django_prodserver.management.commands.worker module

class django_prodserver.management.commands.worker.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: BaseProcessCommand

Start a configured background task worker process.

backend_base_class

alias of BaseWorkerBackend

help = 'Start a configured background task worker process.'
process_label: str = 'worker'

Human readable noun for the kind of process managed (e.g. "server").