Django, How authenticate user with first name and last name?

Posted by Spikie on Stack Overflow See other posts from Stack Overflow or by Spikie
Published on 2010-04-16T01:52:32Z Indexed on 2010/04/16 2:03 UTC
Read the original article Hit count: 429

i want to authenticate users using firstname and lastname

This is the code i am using

user = auth.authenticate(first_name=firstname,last_name=lastname,password=passwordz)

it keep coming up with NoneType: None

i have checked the firstname and lastname plus password seen to be correct?

what i am doing wrong? thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about django