mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 15:34:53 +02:00
Test performance upgrade
This commit is contained in:
parent
9d20769e6e
commit
20bde7df39
4 changed files with 53 additions and 34 deletions
|
@ -4147,11 +4147,13 @@ class PublicContactResource(resources.ModelResource):
|
|||
|
||||
class PublicContactAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
||||
"""Custom PublicContact admin class."""
|
||||
|
||||
resource_classes = [PublicContactResource]
|
||||
|
||||
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_help_text = "Search by registry id, domain, or name."
|
||||
|
||||
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