I figured it out - you just have to overload the FormWizard method
parse_params, like so...
class CreateThingWizard(FormWizard):
def parse_params(self, request, *args, **kwargs):
current_step = self.determine_step(request, *args, **kwargs)
if request.method == 'GET' and curre
I would try creating a view that uses a form factory to define some
dynamic forms.
This post explains how to create a dynamic form factory:
http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/
and then I'd return the Wizard that has the new forms as arguments.
I bet it would work, but I haven
I'm trying to use a FormWizard for a 2 step form. In the first form, I
want to populate the email and post code fields with data from the
current user (request.user.email, request.user.profile.code_postal),
but I can't see how to pass the data dictionary to the form?!? I see
how to pass initial da
3 matches
Mail list logo