#NEWLINE# def deconstruct( self ) : #NEWLINE# #INDENT# ( field_name , path , args , kwargs ) = super ( ChainedManyToManyField , self ) . deconstruct ( ) #NEWLINE# defaults = { #NEWLINE# #INDENT# 'chain_field' : None , #NEWLINE# 'chained_model_field' : None , #NEWLINE# 'auto_choose' : False , #NEWLINE# #UNINDENT# } #NEWLINE# attr_to_kwarg_names = { #NEWLINE# #INDENT# 'chain_field' : 'chained_field' , #NEWLINE# 'chained_model_field' : 'chained_model_field' , #NEWLINE# 'auto_choose' : 'auto_choose' , #NEWLINE# #UNINDENT# } #NEWLINE# for ( name , default ) in defaults . items ( ) : #NEWLINE# #INDENT# value = getattr ( self , name ) #NEWLINE# kwarg_name = attr_to_kwarg_names [ name ] #NEWLINE# if ( value is not default ) : #NEWLINE# #INDENT# kwargs [ kwarg_name ] = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( kwarg_name in kwargs ) : #NEWLINE# #INDENT# del kwargs [ kwarg_name ] #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return ( field_name , path , args , kwargs )