From 3395cf89ba4fe4c59589da281191623a33d9aa05 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Thu, 18 Apr 2024 09:28:14 -0600 Subject: [PATCH] Linting + remove filter horizontal --- src/registrar/admin.py | 3 --- src/registrar/tests/test_admin.py | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/registrar/admin.py b/src/registrar/admin.py index b7c8ddef6..a2e7cd7ca 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -1493,9 +1493,6 @@ class DomainInformationInline(admin.StackedInline): readonly_fields = DomainInformationAdmin.readonly_fields analyst_readonly_fields = DomainInformationAdmin.analyst_readonly_fields - # For each filter_horizontal, init in admin js extendFilterHorizontalWidgets - # to activate the edit/delete/view buttons - filter_horizontal = ("other_contacts",) autocomplete_fields = [ "creator", diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index 4fc4e4d4a..e91823db8 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -87,7 +87,8 @@ class TestDomainAdmin(MockEppLib, WebTest): @less_console_noise_decorator def test_contact_fields_on_domain_change_form_have_detail_table(self): - """Tests if the contact fields in the inlined Domain information have the detail table which displays title, email, and phone""" + """Tests if the contact fields in the inlined Domain information have the detail table + which displays title, email, and phone""" # Create fake creator _creator = User.objects.create(