#NEWLINE# def get_form_kwargs( self ) : #NEWLINE# #INDENT# kwargs = super ( ProductCreateUpdateView , self ) . get_form_kwargs ( ) #NEWLINE# kwargs [ 'product_class' ] = self . product_class #NEWLINE# kwargs [ 'parent' ] = self . parent #NEWLINE# return kwargs