authenticate take only 2 parameters : 1 - username_field ( default : username , if you changed it to email you need to pass email ) 2 - password
On Sat, Apr 4, 2020 at 1:19 AM ahmed elabbasy <ahmedelabba...@gmail.com> wrote: > u must include the save method > > -- > 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/ddc2ee9b-cb3a-4b6d-8c1e-2000b7e9097d%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/ddc2ee9b-cb3a-4b6d-8c1e-2000b7e9097d%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/CAHV4E-eSXM264SAjvvnhuUeETKz7L_S6zqNEWhWuEE0eUhK8nQ%40mail.gmail.com.