I was just running into an issue where I append an error to _non_form_errors in a formset. (Maybe I should re-think that.) Anyway, it happens in the clean method, and I end up calling the clean method twice. Lo and behold, the error message gets appended twice and the user sees a duplicate error message. Then I got to thinking, why isn't _non_form_errors a set? And I thought maybe you guys had a thought about this. It would seem superfluous to have the same error message listed more than once in the error list.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7b96b576ea4542d1ae1c7f675b2579f0%40ISS1.ISS.LOCAL. For more options, visit https://groups.google.com/d/optout.