email": [ "Enter a valid email address." ]

2020-03-20 Thread devyen
Hi, I am tying to use the EmailField in my AbstractBaseUser Class see below. However the serializer does not recognize any emails as valid (I tested with this one, which is clearly valid) Can you help me? Thank you so much! models.py class User(AbstractBaseUser, PermissionsMixin): emai

Re: email": [ "Enter a valid email address." ]

2020-03-26 Thread devyen
Hi Freind, > > Try to set whitelist for your specific domain testing or refer doc for > your case. > > > On Sat, Mar 21, 2020, 03:47 devyen wrote: > >> Hi, >> >> I am tying to use the EmailField in my AbstractBaseUser Class see below. >> However the seri

Re: email": [ "Enter a valid email address." ]

2020-03-28 Thread devyen
email = models.CharField(max_length=256, unique=True) >>>>> >>>>> Thank you DjangoUsers >> >> On Mar 27, 2020, at 4:49 AM, Motaz Hejaze wrote: >> >>  >> I think django doesnt recognize your custom user model .. >> >> Did you your app