On Fri, 19 Mar 2010 16:23:40 +0100, Paulo Almeida <[email protected]> wrote:

I think what's happening is you are assigning a string to the 'login'
variable:

login = request.POST['login']

So when you get to:

login(request, user)

login is the text and not the function.

HTH,
Paulo

Yes and I forgot to mention, that I am a Python beginner too :) I had to change the variable name and the function name (def login(request)) too.

Thanks,
Martin

--
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?hl=en.

Reply via email to