Updated federal agency with new foreign key field

This commit is contained in:
Erin 2024-05-02 10:24:11 -07:00
parent e34dfbccdb
commit f9eb4746a1
No known key found for this signature in database
GPG key ID: 1CAD275313C62460
6 changed files with 55 additions and 26 deletions

View file

@ -449,7 +449,7 @@ class DomainRequest(TimeStampedModel):
blank=True,
)
updated_federal_agency = models.ForeignKey(
federal_agency = models.ForeignKey(
"registrar.FederalAgency",
on_delete=models.PROTECT,
help_text="Associated federal agency",
@ -512,12 +512,6 @@ class DomainRequest(TimeStampedModel):
blank=True,
)
federal_agency = models.CharField(
choices=AGENCY_CHOICES,
null=True,
blank=True,
)
federal_type = models.CharField(
max_length=50,
choices=BranchChoices.choices,