#NEWLINE# def render( self , context ) : #NEWLINE# #INDENT# output = StringIO ( ) #NEWLINE# writer = csv . DictWriter ( output , context . keys ( ) , extrasaction = 'ignore' , delimiter = self . get_delimiter ( ) ) #NEWLINE# writer . writeheader ( ) #NEWLINE# writer . writerows ( output ) #NEWLINE# return output . getvalue ( )