Show allow_email column for hosts and allow filtering

This commit is contained in:
ponas committed 2026-06-10 00:50:56 +02:00
1 parent 9e065f37c2
commit 16f76a9575
1 file changed
+2 -1
+2 -1
View File
@@ -70,8 +70,9 @@ class HostAdmin(admin.ModelAdmin):
"in_domain", "in_domain",
"pxe_installable", "pxe_installable",
"ipv6_enabled", "ipv6_enabled",
"allow_email",
] ]
list_filter = ["host_type", "owner", "location", "pxe_installable"] list_filter = ["host_type", "owner", "location", "pxe_installable", "allow_email"]
readonly_fields = [ readonly_fields = [
"kerberos_principal_name", "kerberos_principal_name",
"kerberos_principal_created_date", "kerberos_principal_created_date",