Add signals

This commit is contained in:
zandercymatics 2024-03-29 13:06:53 -06:00
parent 9e4b48a84b
commit ed8535b695
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
6 changed files with 193 additions and 11 deletions

View file

@ -198,7 +198,7 @@ class Domain(TimeStampedModel, DomainHelper):
is called in the validate function on the request/domain page
throws- RegistryError or InvalidDomainError"""
return True
if not cls.string_could_be_domain(domain):
logger.warning("Not a valid domain: %s" % str(domain))
# throw invalid domain error so that it can be caught in