#NEWLINE# def get_context_data( self , form , **kwargs ) : #NEWLINE# #INDENT# "\n        Returns the template context for a step. You can overwrite this method\n        to add more data for all or some steps. This method returns a\n        dictionary containing the rendered form step. Available template\n        context variables are:\n\n         * all extra data stored in the storage backend\n         * `form` - form instance of the current step\n         * `wizard` - the wizard instance itself\n\n        Example:\n\n        .. code-block:: python\n\n            class MyWizard(WizardView):\n                def get_context_data(self, form, **kwargs):\n                    context = super(MyWizard, self).get_context_data(form=form, **kwargs)\n                    if self.steps.current == 'my_step_name':\n                        context.update({'another_var': True})\n                    return context\n        " #NEWLINE# context = super ( WizardView , self ) . get_context_data ( form = form , ** kwargs ) #NEWLINE# context . update ( self . storage . extra_data ) #NEWLINE# context [ 'wizard' ] = { #NEWLINE# #INDENT# 'form' : form , #NEWLINE# 'steps' : self . steps , #NEWLINE# 'management_form' : ManagementForm ( prefix = self . prefix , initial = { #NEWLINE# #INDENT# 'current_step' : self . steps . current , #NEWLINE# #UNINDENT# } ) , #NEWLINE# #UNINDENT# } #NEWLINE# return context