I have a form wizard that walks a user through some system configuration 
steps. In the done() method, the cleaned_data is used to call out to a 
configuration system to do various set/unset operations.

Most of the time, the validation that I have built into my form classes is 
sufficient. However, occasionally, the configuration system I am 
interfacing with will return validation errors of its own, and when this 
happens, I need to be able to return the user to a previous step in the 
form. Right now, all I've figured out how to do is redirect them back to 
the start of the form (using HttpResponseRedirect) but this of course loses 
their data.

Is there a way to redirect, from the done() method, back to an existing 
step of the form, in such a way that the data is not removed?

-- 
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to