#NEWLINE# def get_csv_export_fields( self , request ) : #NEWLINE# #INDENT# '\n        Return a sequence of tuples which should be included in the export.\n        ' #NEWLINE# fields = [ f . name for f in self . model . _meta . fields ] #NEWLINE# for relation in self . csv_follow_relations : #NEWLINE# #INDENT# for field in self . model . _meta . get_field_by_name ( fields ) [ 0 ] . rel . to . _meta . fields : #NEWLINE# #INDENT# fields . append ( [ relation , field . name ] ) #NEWLINE# #UNINDENT# #UNINDENT# return fields