

def get_form(self, step, data=None):
    'Helper method that returns the Form instance for the given step.'
    if (step >= self.num_steps()):
        raise Http404(('Step %s does not exist' % step))
    return self.form_list[step](data, prefix=self.prefix_for_step(step), initial=self.initial.get(step, None))

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/formtools/wizard/legacy.py FormWizard.get_form/original