Fix form field w/ refactor

This commit is contained in:
zandercymatics 2024-04-15 11:33:21 -06:00
parent 9d872d065c
commit 3c1c888356
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
7 changed files with 17 additions and 6 deletions

View file

@ -72,6 +72,7 @@ def check_domain_available(domain):
given domain doesn't end with .gov, ".gov" is added when looking for
a match. If check fails, throws a RegistryError.
"""
return True
Domain = apps.get_model("registrar.Domain")
if domain.endswith(".gov"):