Linting + remove filter horizontal

This commit is contained in:
zandercymatics 2024-04-18 09:28:14 -06:00
parent a51c80f333
commit 3395cf89ba
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 2 additions and 4 deletions

View file

@ -1493,9 +1493,6 @@ class DomainInformationInline(admin.StackedInline):
readonly_fields = DomainInformationAdmin.readonly_fields readonly_fields = DomainInformationAdmin.readonly_fields
analyst_readonly_fields = DomainInformationAdmin.analyst_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 = [ autocomplete_fields = [
"creator", "creator",

View file

@ -87,7 +87,8 @@ class TestDomainAdmin(MockEppLib, WebTest):
@less_console_noise_decorator @less_console_noise_decorator
def test_contact_fields_on_domain_change_form_have_detail_table(self): 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 # Create fake creator
_creator = User.objects.create( _creator = User.objects.create(