On Thu, Sep 23, 2010 at 2:18 PM, Yo-Yo Ma <baxterstock...@gmail.com> wrote:
> Hey Jacob, understood. Here's some more details that might help:
[snip]
>                if user.check_password(request.POST.get('password',
> '')):
>                    login(request, user)

As Santiago mentioned, you need to call authenticate() before calling
login(). See 
http://docs.djangoproject.com/en/dev/topics/auth/#django.contrib.auth.login
for details.

Jacob

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to