formatting

This commit is contained in:
David Kennedy 2023-12-15 19:57:15 -05:00
parent d633b36839
commit 0c7393f9d6
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -268,7 +268,7 @@ class MyUserAdmin(BaseUserAdmin):
# this ordering effects the ordering of results
# in autocomplete_fields for user
ordering = ['first_name', 'last_name', 'email']
ordering = ["first_name", "last_name", "email"]
# Let's define First group
# (which should in theory be the ONLY group)
@ -849,7 +849,7 @@ class DomainAdmin(ListHeaderAdmin):
# this ordering effects the ordering of results
# in autocomplete_fields for domain
ordering = ['name']
ordering = ["name"]
def organization_type(self, obj):
return obj.domain_info.get_organization_type_display()