Re: authenticate=None mistery: can't authenticate from the web but it works from the command line

2012-08-22 Thread Jorge Garcia
rd=clave) > > > > should be > > > > authenticate(username=usuario, password=clave) > > > > Regards > > > > > > On Sun, Aug 19, 2012 at 3:35 PM, Jorge Garcia > > > > > > wrote: > >> > >> Hi there. Im

authenticate=None mistery: can't authenticate from the web but it works from the command line

2012-08-19 Thread Jorge Garcia
Hi there. Im doing my first login form for an existing Django application. The thing is that when I give the correct usr/pswd from the web, django.contrib.auth.authenticate returns systematically None. However, when I try the same thing from the Django shell it works. I'm working with a "john