Your ask is not clear,..What is wrong ? What is the error message? If you need validate the email format, here is one javascript example :
function validaemail(email) { if(email=="correo"){ var x = document.getElementById("correo").value } else { var x = document.getElementById("correo_apod").value } if(x!='') { var expr = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if ( !expr.test(x) ) { alert("Error: La dirección de correo " + x + " es incorrecta."); document.getElementById("correo").value = ""; } } } Regards, Gabriel Araya Garcia GMI - Desarrollo de Sistemas Informáticos Santiago of Chile El mar, 9 mar 2021 a las 11:47, Manuel Buri (<manuel.b...@gmail.com>) escribió: > Hi, I am a bit lost while trying to add user email verification step to my > custom user model that is based on AbstractBaseUser. Did someone do that > already or if not how should I do it differently? > Thank you so much! > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/aeec0130-5ef5-48f6-bb37-61d8ebeafd6fn%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/aeec0130-5ef5-48f6-bb37-61d8ebeafd6fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKVvSDASwaPPf%3DK4kW7bDAV9yVke7Xh8E_Hr_3_A75gJYjSPnQ%40mail.gmail.com.