Hello Everybody, I'm having a problem using the django.contrib.auth app and class based generic views in Django 1.3 / 1.4:
After submitting the login form, my view receives the post data and tries to authenticate the user and then redirect to a success page. Ok nothing new.. The problem is: My HomeView wich extends the TemplateView, receive the redirect from the login form and uses a render_to_response function to render the template, and that is my problem, because render_to_response does not create a RequestContext object, the one I need to show the newly authenticated user data, because that is a requirement for django.contrib.auth app, if the request is not a RequestContext, the authenticated user data, is not passed to the template ( https://docs.djangoproject.com/en/1.4/topics/auth/#authentication-data-in-templates ).. Does someone can help me with this problem? PS: Sorry about my English, it is not my first language Thanks :D -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ywPX8VH5CUQJ. To post to this group, send email to django-users@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.