Skip to content

Commit

Permalink
update federal agency drop down not to have any exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-kennedy-ecs committed Jan 13, 2025
1 parent ae6c461 commit d54e57b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/registrar/forms/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,11 +445,10 @@ class DomainOrgNameAddressForm(forms.ModelForm):
"""Form for updating the organization name and mailing address."""

# for federal agencies we also want to know the top-level agency.
excluded_agencies = ["gov Administration", "Non-Federal Agency"]
federal_agency = forms.ModelChoiceField(
label="Federal agency",
required=False,
queryset=FederalAgency.objects.exclude(agency__in=excluded_agencies),
queryset=FederalAgency.objects.all(),
empty_label="--Select--",
widget=ComboboxWidget,
)
Expand Down

0 comments on commit d54e57b

Please sign in to comment.