How to Solve NameError: name '_simple_domain_name_validator' is not defined -- django
Solution: Import the '_simple_domain_name_validator' module
# Add the following line to the top of your code
from django.contrib.sites.models import _simple_domain_name_validator
For more information:
django _simple_domain_name_validator