Figured it out - you have to populate both fs._errors _and_ loop
through each form in the formset and populate its _errors attribute,
as well.

On Jun 22, 2:50 pm, snfctech <tschm...@sacfoodcoop.com> wrote:
> Hi, Michal.
>
> I tried that, but the errors don't get rendered for some reason (see
> my first post).
>
> Tony
>
> On Jun 22, 1:59 pm, Michał Sawicz <mic...@sawicz.net> wrote:
>
>
>
>
>
>
>
> > Dnia 2011-06-22, śro o godzinie 13:44 -0700, snfctech pisze:
>
> > > Which passes the form with the same post data and some error messages
> > > back to the user.
>
> > Maybe you could just reinstantiate a clean RegistrationFormSet without
> > passing request.POST to it? Maybe copying errors from the original,
> > bound one.
>
> > Just my c2.
>
> > Cheers
> > --
> > Michał (Saviq) Sawicz <mic...@sawicz.net>
>
> >  signature.asc
> > < 1KViewDownload

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