#NEWLINE# def get_type( self , cls ) : #NEWLINE# #INDENT# if ( 'type' in cls . kwargs ) : #NEWLINE# #INDENT# return self . kwargs [ 'type' ] #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# field = self . get_field ( cls ) #NEWLINE# return field . get_internal_type ( ) #NEWLINE# #UNINDENT# except models . fields . FieldDoesNotExist : #NEWLINE# #INDENT# return 'CharField'