On Tue, Mar 24, 2009 at 2:11 PM, Adam Yee <adamj...@gmail.com> wrote:
> So, I now pass the bound form, but still no validation error messages > show up. More importantly, is_valid is still returning false even > when I try logging in as a super user. I also removed checking for > is_active since the AuthenticationForm's clean should take care of > that and raise the correct validation error if the user isn't active. > Now with the error() func removed: > How are you rendering the form in the template? If is_valid returns false then there should be errors noted in the errors dictionary, if you are not seeing these it sounds like youare rendering the form in some way that bypasses outputting the form errors. Fixing that would be a step towards figuring out what is causing the problem, since you'd know specifically what is wrong instead of trying to guess what might be going wrong. Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. 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 -~----------~----~----~----~------~----~------~--~---