Re: Django Contrib Auth + Class Based Generic Views

2012-04-04 Thread Matheus Ashton
Ok, Thanks for the advices :) but I still have the original problem, when i access the HomeView the template is rendered with a render_to_response view, with a simple Context object and not a RequestContext object, because of that I do not have the authenticated user data in my template... 2012/4/

Re: Django Contrib Auth + Class Based Generic Views

2012-04-03 Thread Matheus Ashton
(self.value) class InvalidLoginException(Exception): def __init__(self, value): self.value = value def __str__(self): return repr(self.value) Thanks again :) 2012/4/3 Sergiy Khohlov > Please provide your urls.py and your view which is used for this > > 2012/4/3

Django Contrib Auth + Class Based Generic Views

2012-04-02 Thread Matheus Ashton
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