Re: problem with user autentication

2020-04-03 Thread Motaz Hejaze
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 wrote: > u must include the save method > > -- > You received this message because you are subscribed t

Re: problem with user autentication

2020-04-03 Thread ahmed elabbasy
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 visi

problem with user autentication

2020-04-03 Thread Luca Bertolotti
Hello i can't authenticate user I have crete the user with: def create_user(request us = request.POST['username'] ml = request.POST['email'] passw = request.POST['password'] User.objects.create_user(us, ml, passw) return.. I see the user in the database