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.