Hello, I've encountered a strange behavior of
django.core.validators.EmailValidator, isn't it supposed to accept ip
address instead of domain? Like username@1.1.1.1 instead instead of
usern...@example.com. In fact, if you try to validate ip address as an
email domain part validation fails:
EmailValidator().validate_domain_part('8.8.8.8') is False. is it an error
in validator or am I missing something?
Source code:
https://docs.djangoproject.com/en/1.9/_modules/django/core/validators/
Best regards, Ilya Deynega.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABxJwy5LQzcK3VmRz-AaWTHDb%3D6m9G%3Ddkm4uY7sZYsOEcbXstg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to