Merge branch 'main' into za/1901-allow-analysts-to-customize-action-needed-emails

This commit is contained in:
zandercymatics 2024-07-03 09:11:56 -06:00
commit b93a9b07b7
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
25 changed files with 621 additions and 104 deletions

View file

@ -315,10 +315,19 @@ class DomainRequest(TimeStampedModel):
on_delete=models.PROTECT,
null=True,
blank=True,
related_name="DomainInformation_portfolio",
related_name="DomainRequest_portfolio",
help_text="Portfolio associated with this domain request",
)
sub_organization = models.ForeignKey(
"registrar.Suborganization",
on_delete=models.PROTECT,
null=True,
blank=True,
related_name="request_sub_organization",
help_text="The suborganization that this domain request is included under",
)
# 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(
@ -444,7 +453,7 @@ class DomainRequest(TimeStampedModel):
null=True,
blank=True,
help_text="Domain associated with this request; will be blank until request is approved",
related_name="domain_request",
related_name="domain_request_approved_domain",
on_delete=models.SET_NULL,
)
@ -452,7 +461,7 @@ class DomainRequest(TimeStampedModel):
"DraftDomain",
null=True,
blank=True,
related_name="domain_request",
related_name="domain_request_requested_domain",
on_delete=models.PROTECT,
)