one simple idea ( it may or may not be feasible ) that you can use is
1) write down a middleware
2) examine the context which has a form and with the above error
message
    and replace it with your new error message



On Jun 14, 5:45 pm, 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.
>
> Thanks,
> Vitaly Babiy
--~--~---------~--~----~------------~-------~--~----~
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