#NEWLINE# def to_dict( self ) : #NEWLINE# #INDENT# if isinstance ( self . builtin_type , Field ) : #NEWLINE# #INDENT# return self . builtin_type . to_dict ( ) #NEWLINE# #UNINDENT# d = super ( CustomField , self ) . to_dict ( ) #NEWLINE# d [ 'type' ] = self . builtin_type #NEWLINE# return self