On 8/18/06, halmcelroy <[EMAIL PROTECTED]> wrote:
>
> It seems the api for the login method has changed. When I try to use
> the login method like so:
> login(request,user), I get an error that login has just 1 argument, and
> 2 are provided. When I provide just the request object to the login
> method, then it goes into infinite recursion

Are you confusing the login method from django.contrib.auth with the
login method from django.contrib.auth.views? Both take a request as
the first parameter, but the first has two positional parameters,
while the second as one.

Alan
-- 
Alan Green
[EMAIL PROTECTED] - http://bright-green.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to