Wednesday, June 22, 2011

Re: how to display form data with original values after validation failure?

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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment