management.views.tlsΒΆ
TLS setting specific views.
ClassesΒΆ
Mixin which adds data to the context for the TLS settings application. |
|
View to display certificate details, including Subject Alternative Name (SAN) and associated IP addresses. |
Module ContentsΒΆ
- class management.views.tls.TlsSettingsContextMixin[source]ΒΆ
Mixin which adds data to the context for the TLS settings application.
- class management.views.tls.TlsView[source]ΒΆ
Bases:
TlsSettingsContextMixin,django.views.generic.FormView[management.forms.IPv4AddressForm]View to display certificate details, including Subject Alternative Name (SAN) and associated IP addresses.
- get_form_kwargs()[source]ΒΆ
Pass additional arguments (e.g., SAN IPs) to the form.
- Return type:
dict[str, Any]
- get_context_data(**kwargs)[source]ΒΆ
Add certificate information, including SAN data and issuer details, to the context for display.
- Parameters:
kwargs (dict[str, Any])
- Return type:
dict[str, Any]
- form_valid(form)[source]ΒΆ
Handle valid form submissions.
- Parameters:
- Return type:
django.http.HttpResponse