mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Add in Federal Agency models for domain request or domain info
This commit is contained in:
parent
64d0ec3f93
commit
0445e3dcca
2 changed files with 17 additions and 0 deletions
|
@ -29,8 +29,17 @@ class DomainInformation(TimeStampedModel):
|
|||
|
||||
BranchChoices = DomainRequest.BranchChoices
|
||||
|
||||
# TODO for #1975: Delete this after we run the new migration
|
||||
AGENCY_CHOICES = DomainRequest.AGENCY_CHOICES
|
||||
|
||||
# TODO: Confirm if we want federal_agency or just agency
|
||||
federal_agency = models.ForeignKey(
|
||||
"registrar.FederalAgency",
|
||||
on_delete=models.PROTECT,
|
||||
help_text="Associated federal agency",
|
||||
unique=False,
|
||||
)
|
||||
|
||||
# This is the domain request user who created this domain request. The contact
|
||||
# information that they gave is in the `submitter` field
|
||||
creator = models.ForeignKey(
|
||||
|
|
|
@ -449,6 +449,14 @@ class DomainRequest(TimeStampedModel):
|
|||
blank=True,
|
||||
)
|
||||
|
||||
# TODO: Confirm if we want federal_agency or just agency
|
||||
federal_agency = models.ForeignKey(
|
||||
"registrar.FederalAgency",
|
||||
on_delete=models.PROTECT,
|
||||
help_text="Associated federal agency",
|
||||
unique=False,
|
||||
)
|
||||
|
||||
# This is the domain request user who created this domain request. The contact
|
||||
# information that they gave is in the `submitter` field
|
||||
creator = models.ForeignKey(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue