mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Linting + remove filter horizontal
This commit is contained in:
parent
a51c80f333
commit
3395cf89ba
2 changed files with 2 additions and 4 deletions
|
@ -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",
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue