This probably should have been posted to django-users anyway. Chances are, getting a stacktrace like this one or the last error you posted are actually problems with your code and not django itself.
Unless you can show that it is actually a problem with django and not the way you are using it, it'd be better addressed on django-users first. David On Fri, Sep 24, 2010 at 5:41 AM, Jacob Kaplan-Moss <[email protected]> wrote: > On Thu, Sep 23, 2010 at 2:18 PM, Yo-Yo Ma <[email protected]> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
