initial form

This commit is contained in:
zandercymatics 2024-10-17 15:39:55 -06:00
parent a1d9904176
commit e04337f94c
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
4 changed files with 94 additions and 7 deletions

View file

@ -1173,6 +1173,16 @@ class DomainRequest(TimeStampedModel):
return True
return False
def is_suborganization(self) -> bool:
if self.portfolio:
if self.sub_organization:
return True
if self.organization_name != self.portfolio.organization_name:
return True
return False
def to_dict(self):
"""This is to process to_dict for Domain Information, making it friendly
to "copy" it