#NEWLINE# def get_attname( self , cls ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# field = self . get_field ( self ) #NEWLINE# return field . attname #NEWLINE# #UNINDENT# except models . fields . FieldDoesNotExist : #NEWLINE# #INDENT# return self . field_name