

def render_template(self, request, form, previous_fields, step, context=None):
    '\n        Renders the template for the given step, returning an HttpResponse object.\n\n        Override this method if you want to add a custom context, return a\n        different MIME type, etc. If you only need to override the template\n        name, use get_template() instead.\n\n        The template will be rendered with the following context:\n            step_field -- The name of the hidden field containing the step.\n            step0      -- The current step (zero-based).\n            step       -- The current step (one-based).\n            step_count -- The total number of steps.\n            form       -- The Form instance for the current step (either empty\n                          or with errors).\n            previous_fields -- A string representing every previous data field,\n                          plus hashes for completed forms, all in the form of\n                          hidden fields. Note that you\'ll need to run this\n                          through the "safe" template filter, to prevent\n                          auto-escaping, because it\'s raw HTML.\n        '
    context = (context or {
        
    })
    context.update(self.extra_context)
    return render_to_response(self.get_template(step), dict(context, step_field=self.step_field_name, step0=step, step=(step + 1), step_count=self.num_steps(), form=form, previous_fields=previous_fields), context_instance=RequestContext(request))

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