pki.views.cert_profilesΒΆ
Views for Certificate Profile management.
ClassesΒΆ
Mixin which adds context_data for the PKI -> Cert Profiles pages. |
|
Certificate Profile Table View. |
|
View to display the details of and edit a Certificate Profile. |
|
View to confirm the deletion of multiple certificate profiles. |
Module ContentsΒΆ
- class pki.views.cert_profiles.CertProfileContextMixin[source]ΒΆ
Bases:
trustpoint.views.base.ContextDataMixinMixin which adds context_data for the PKI -> Cert Profiles pages.
- class pki.views.cert_profiles.CertProfileTableView[source]ΒΆ
Bases:
CertProfileContextMixin,trustpoint.views.base.SortableTableMixin[pki.models.CertificateProfileModel],django.views.generic.list.ListView[pki.models.CertificateProfileModel]Certificate Profile Table View.
- class pki.views.cert_profiles.CertProfileConfigView[source]ΒΆ
Bases:
trustpoint.logger.LoggerMixin,CertProfileContextMixin,django.views.generic.edit.UpdateView[pki.models.CertificateProfileModel,pki.forms.CertProfileConfigForm]View to display the details of and edit a Certificate Profile.
- get_object(_queryset=None)[source]ΒΆ
Retrieve the CertificateProfileModel object based on the primary key in the URL.
- Parameters:
_queryset (django.db.models.QuerySet[Any, Any] | None)
- Return type:
- get_context_data(**kwargs)[source]ΒΆ
Add additional context data.
- Parameters:
kwargs (Any)
- Return type:
dict[str, Any]
- class pki.views.cert_profiles.CertProfileBulkDeleteConfirmView[source]ΒΆ
Bases:
CertProfileContextMixin,trustpoint.views.base.BulkDeleteViewView to confirm the deletion of multiple certificate profiles.
- queryset: django.db.models.QuerySet[pki.models.CertificateProfileModel][source]ΒΆ