Custom Search

Wednesday, November 30, 2016

python django ImportError: cannot import name email_re

Error:
from django.core.validators import email_re
ImportError: cannot import name email_re

Fix:
Use validate_email function
from django.core.validators import validate_email

No comments:

Post a Comment