Update admin.py

This commit is contained in:
zandercymatics 2024-06-27 14:27:03 -06:00
parent fca608727c
commit 686c5515bf
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -2155,8 +2155,7 @@ class DomainAdmin(ListHeaderAdmin, ImportExportModelAdmin):
),
)
# this ordering effects the ordering of results
# in autocomplete_fields for domain
# this ordering effects the ordering of results in autocomplete_fields for domain
ordering = ["name"]
def generic_org_type(self, obj):