Fix failing tests

This commit is contained in:
Seamus Johnston 2022-11-28 13:02:19 -06:00
parent 758c645943
commit 54b6b525b5
No known key found for this signature in database
GPG key ID: 2F21225985069105
6 changed files with 37 additions and 14 deletions

View file

@ -211,8 +211,8 @@ class DomainApplication(TimeStampedModel):
def __str__(self):
try:
if self.requested_domain and self.requested_domain.website:
return self.requested_domain.website
if self.requested_domain and self.requested_domain.name:
return self.requested_domain.name
else:
return f"{self.status} application created by {self.creator}"
except Exception: