Yeah I think that is what I am going to do.

Thanks
Vitaly Babiy


On Mon, Jun 15, 2009 at 4:58 PM, TiNo <tin...@gmail.com> wrote:

> On Sun, Jun 14, 2009 at 14:45, Vitaly Babiy <vbabi...@gmail.com> wrote:
>
>> Hey Everyone,
>> I need to change the inactive account error message on the
>> AuthenticationForm, one thing I have is to replace the clean method on the
>> form with my own custom clean method the problem with this is django test
>> fail when I do this. I was wondering was is the best practice when it comes
>> to this.
>>
>
> You could subclass AuthenticationForm, override the clean method, and use
> it in your own custom login view. That is probably the easiest.
>
> TiNo
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to