script cleanup

This commit is contained in:
zandercymatics 2025-03-17 13:21:01 -06:00
parent 20bde7df39
commit e4c2511ef3
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 12 additions and 14 deletions

View file

@ -4152,7 +4152,7 @@ class PublicContactAdmin(ListHeaderAdmin, ImportExportModelAdmin):
change_form_template = "django/admin/email_clipboard_change_form.html"
autocomplete_fields = ["domain"]
list_display = ("registry_id", "contact_type", "domain", "name")
search_fields = ["registry_id", "domain", "name"]
search_fields = ["registry_id", "domain__name", "name"]
search_help_text = "Search by registry id, domain, or name."
def changeform_view(self, request, object_id=None, form_url="", extra_context=None):