mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Change State / territory label in domain admin
This commit is contained in:
parent
49a107e027
commit
a76c4536f0
1 changed files with 1 additions and 0 deletions
|
@ -1631,6 +1631,7 @@ class DomainAdmin(ListHeaderAdmin):
|
||||||
|
|
||||||
city.admin_order_field = "domain_info__city" # type: ignore
|
city.admin_order_field = "domain_info__city" # type: ignore
|
||||||
|
|
||||||
|
@admin.display(description=_("State / territory"))
|
||||||
def state_territory(self, obj):
|
def state_territory(self, obj):
|
||||||
return obj.domain_info.state_territory if obj.domain_info else None
|
return obj.domain_info.state_territory if obj.domain_info else None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue