This commit is contained in:
Rachid Mrad 2023-09-08 18:34:31 -04:00
parent b45c5665d3
commit 2ba48edb7f
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF

View file

@ -198,9 +198,7 @@ class DomainAdmin(ListHeaderAdmin):
] ]
def organization_type(self, obj): def organization_type(self, obj):
return ( return obj.domain_info.organization_type
obj.domain_info.organization_type
)
# Filters # Filters
list_filter = ["domain_info__organization_type"] list_filter = ["domain_info__organization_type"]