Hi all, i would like to user a simple captcha during login to a web application. Because of this I wrote my own login view like in the django documentation, in short:
form.is_valid() authenticate(username='user', password='pass') login(request, user) For deteil here is the full code of the login view http://dpaste.com/184432/ Now the problem is that the login procedure finished successful but the @login_required decorator redirects me to the login view again. I just seems that django does not remember the logged in user. I removed the captcha formfield but nothing happened. In the documentation the login view contains a section where test cookies were set and then deleted. What about this. Do I have to test the cookies for a complete login procedure? Does someone have or had the same problem? Regards Christian -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.