On Sep 23, 10:08 am, Donn <[EMAIL PROTECTED]> wrote: > On Tuesday, 23 September 2008 08:47:10 Daniel Roseman wrote:> meantime maybe > you could define a clean() method and catch and re- > > raise the ValidationError there. > > I tried that idea of yours and it has no effect on the error message. Looking > at the source I see it's adding an error for a field called __all__ but I am > not sure how to use that in the template. > > How would one i18nize the error messages? perhaps I can change the string at > that point. > > \d
The __all__ error messages are available via form.non_field_errors(). -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---