diff --git a/src/registrar/admin.py b/src/registrar/admin.py index 31a0247af..89efc5951 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -1168,7 +1168,13 @@ class DomainRequestAdmin(ListHeaderAdmin): ] # Readonly fields for analysts and superusers - readonly_fields = ("other_contacts", "current_websites", "alternative_domains", "generic_org_type", "is_election_board") + readonly_fields = ( + "other_contacts", + "current_websites", + "alternative_domains", + "generic_org_type", + "is_election_board", + ) # Read only that we'll leverage for CISA Analysts analyst_readonly_fields = [ diff --git a/src/registrar/models/domain_request.py b/src/registrar/models/domain_request.py index fc2864fe4..673d765d1 100644 --- a/src/registrar/models/domain_request.py +++ b/src/registrar/models/domain_request.py @@ -100,7 +100,7 @@ class DomainRequest(TimeStampedModel): class OrganizationChoices(models.TextChoices): """ Primary organization choices: - For use in the request experience + For use in the domain request experience Keys need to match OrgChoicesElectionOffice and OrganizationChoicesVerbose """ diff --git a/src/registrar/tests/test_admin.py b/src/registrar/tests/test_admin.py index 7b810a2c5..e276da5d8 100644 --- a/src/registrar/tests/test_admin.py +++ b/src/registrar/tests/test_admin.py @@ -1588,6 +1588,8 @@ class TestDomainRequestAdmin(MockEppLib): "other_contacts", "current_websites", "alternative_domains", + "generic_org_type", + "is_election_board", "id", "created_at", "updated_at", @@ -1637,6 +1639,8 @@ class TestDomainRequestAdmin(MockEppLib): "other_contacts", "current_websites", "alternative_domains", + "generic_org_type", + "is_election_board", "creator", "about_your_organization", "requested_domain", @@ -1662,6 +1666,8 @@ class TestDomainRequestAdmin(MockEppLib): "other_contacts", "current_websites", "alternative_domains", + "generic_org_type", + "is_election_board", ] self.assertEqual(readonly_fields, expected_fields) @@ -2259,6 +2265,8 @@ class TestDomainInformationAdmin(TestCase): expected_fields = [ "other_contacts", + "generic_org_type", + "is_election_board", "creator", "type_of_work", "more_organization_information",