mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
pushing to pull on other device
This commit is contained in:
parent
b1ef0b597d
commit
dfd237755d
6 changed files with 197 additions and 23 deletions
|
@ -501,6 +501,16 @@ class DomainRequest(TimeStampedModel):
|
|||
on_delete=models.PROTECT,
|
||||
)
|
||||
|
||||
feb_naming_requirements = models.BooleanField(
|
||||
null=True,
|
||||
blank=True,
|
||||
)
|
||||
|
||||
feb_naming_requirements_details = models.TextField(
|
||||
null=True,
|
||||
blank=True,
|
||||
)
|
||||
|
||||
alternative_domains = models.ManyToManyField(
|
||||
"registrar.Website",
|
||||
blank=True,
|
||||
|
@ -1388,6 +1398,16 @@ class DomainRequest(TimeStampedModel):
|
|||
if self.has_anything_else_text is None or self.has_cisa_representative is None:
|
||||
has_details = False
|
||||
return has_details
|
||||
|
||||
def is_feb(self) -> bool:
|
||||
"""Is this domain request for a Federal Executive Branch agency?"""
|
||||
# if not self.generic_org_type:
|
||||
# # generic_org_type is either blank or None, assume no
|
||||
# return False
|
||||
# if self.generic_org_type == DomainRequest.OrganizationChoices.FEDERAL:
|
||||
# return self.federal_type == DomainRequest.FederalChoices.EXECUTIVE
|
||||
# return False
|
||||
return True # TODO: this is for testing, remove before merging
|
||||
|
||||
def is_federal(self) -> Union[bool, None]:
|
||||
"""Is this domain request for a federal agency?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue