Re: No distinction on user status on form.is_valid() when using AuthenticationForm

2009-10-05 Thread Gerard
Must have missed that somehow. Thanx Karen. Regards, Gerard. Karen Tracey wrote: > On Mon, Oct 5, 2009 at 6:46 AM, Gerard > wrote: > > > Hi All, > > When checking form validity with > >form.is_valid() > after > >form = Authent

Re: No distinction on user status on form.is_valid() when using AuthenticationForm

2009-10-05 Thread Karen Tracey
On Mon, Oct 5, 2009 at 6:46 AM, Gerard wrote: > > Hi All, > > When checking form validity with > >form.is_valid() > after > >form = AuthenticationForm(data=request.POST) > > I get a False when the user is set to inactive. One would think a form can > be valid besides a user being

No distinction on user status on form.is_valid() when using AuthenticationForm

2009-10-05 Thread Gerard
Hi All, When checking form validity with form.is_valid() after form = AuthenticationForm(data=request.POST) I get a False when the user is set to inactive. One would think a form can be valid besides a user being disabled. The reason, I want a seperate error messages for inco