#NEWLINE# def get_meta_fields( self , model ) : #NEWLINE# #INDENT# '\n        This returns a list of field names that are allowed to\n        be used in the meta section in the API (excluding type and detail_url).\n        ' #NEWLINE# meta_fields = self . extra_meta_fields [ : ] #NEWLINE# if hasattr ( model , 'api_meta_fields' ) : #NEWLINE# #INDENT# meta_fields . extend ( model . api_meta_fields ) #NEWLINE# #UNINDENT# return self