commands.custom_runserver_plus

Classes

Command

Custom runserver_plus command that stores the TLS certificate to the database.

Module Contents

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

Bases: django_extensions.management.commands.runserver_plus.Command

Custom runserver_plus command that stores the TLS certificate to the database.

store_tls_certificate(cert_file_path, key_file_path)[source]

Fetch or create the TLS certificate and key from the database.

handle(*args, **options)[source]

Main command execution logic.