Wednesday, June 22, 2011

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

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 <michal@sawicz.net>

No comments:

Post a Comment