mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 01:27:03 +02:00
formatting
This commit is contained in:
parent
d633b36839
commit
0c7393f9d6
1 changed files with 2 additions and 2 deletions
|
@ -268,7 +268,7 @@ class MyUserAdmin(BaseUserAdmin):
|
||||||
|
|
||||||
# this ordering effects the ordering of results
|
# this ordering effects the ordering of results
|
||||||
# in autocomplete_fields for user
|
# in autocomplete_fields for user
|
||||||
ordering = ['first_name', 'last_name', 'email']
|
ordering = ["first_name", "last_name", "email"]
|
||||||
|
|
||||||
# Let's define First group
|
# Let's define First group
|
||||||
# (which should in theory be the ONLY group)
|
# (which should in theory be the ONLY group)
|
||||||
|
@ -849,7 +849,7 @@ class DomainAdmin(ListHeaderAdmin):
|
||||||
|
|
||||||
# this ordering effects the ordering of results
|
# this ordering effects the ordering of results
|
||||||
# in autocomplete_fields for domain
|
# in autocomplete_fields for domain
|
||||||
ordering = ['name']
|
ordering = ["name"]
|
||||||
|
|
||||||
def organization_type(self, obj):
|
def organization_type(self, obj):
|
||||||
return obj.domain_info.get_organization_type_display()
|
return obj.domain_info.get_organization_type_display()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue