On 8/24/07, Kirk Strauser <[EMAIL PROTECTED]> wrote: > problem I'm running into is that I'd really, really like to be able to > associate errors from the form.clean() stage of validation with the fields > that are actually having problems.
To assign a single message, I use following assignment: self.errors['my_field_name'] = ErrorList(['My error message']) For details see class ValidationError in django.newforms.util HTH, Peter --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---