lint model

This commit is contained in:
zandercymatics 2024-10-30 14:21:35 -06:00
parent c465b7fb67
commit dfb59a6a9d
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1152,7 +1152,9 @@ class DomainRequest(TimeStampedModel):
# If a suborganization already exists, it can't possibly be a new one # If a suborganization already exists, it can't possibly be a new one
if self.sub_organization: if self.sub_organization:
return False return False
return bool(self.requested_suborganization and self.suborganization_city and self.suborganization_state_territory) return bool(
self.requested_suborganization and self.suborganization_city and self.suborganization_state_territory
)
# ## Form unlocking steps ## # # ## Form unlocking steps ## #
# #