linter fixes

This commit is contained in:
Matthew Spence 2024-08-26 11:54:08 -05:00
parent 497837b098
commit f7b2e38bba
No known key found for this signature in database
3 changed files with 12 additions and 7 deletions

View file

@ -823,7 +823,7 @@ class DomainRequest(TimeStampedModel):
if not DraftDomain.string_could_be_domain(self.requested_domain.name):
raise ValueError("Requested domain is not a valid domain name.")
# if the domain has not been submitted before this must be the first time
# if the domain has not been submitted before this must be the first time
if not self.first_submitted_date:
self.first_submitted_date = timezone.now().date()