mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 10:59:21 +02:00
Update migration file
This commit is contained in:
parent
f9fdbfe68a
commit
c7e8e26828
2 changed files with 9 additions and 2 deletions
|
@ -1987,6 +1987,13 @@ class DraftDomainAdmin(ListHeaderAdmin):
|
|||
# this ordering effects the ordering of results
|
||||
# in autocomplete_fields for user
|
||||
ordering = ["name"]
|
||||
list_display = [
|
||||
"name"
|
||||
]
|
||||
|
||||
@admin.display(description=_("Requested domain"))
|
||||
def name(self, obj):
|
||||
return obj.name
|
||||
|
||||
def get_model_perms(self, request):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue