mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-30 06:26:34 +02:00
Update admin.py
This commit is contained in:
parent
62cdc33786
commit
9f675cee9c
1 changed files with 1 additions and 0 deletions
|
@ -4154,6 +4154,7 @@ class PublicContactAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
|||
list_display = ("registry_id", "contact_type", "domain", "name")
|
||||
search_fields = ["registry_id", "domain__name", "name"]
|
||||
search_help_text = "Search by registry id, domain, or name."
|
||||
list_filter = ("contact_type",)
|
||||
|
||||
def changeform_view(self, request, object_id=None, form_url="", extra_context=None):
|
||||
if extra_context is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue