#NEWLINE# @ dd . chooser ( simple_values = True ) #NEWLINE# def field_choices( cls , filter ) : #NEWLINE# #INDENT# l = [ ] #NEWLINE# if ( filter is not None ) : #NEWLINE# #INDENT# model = filter . content_type . model_class ( ) #NEWLINE# meta = model . _meta #NEWLINE# for f in meta . fields : #NEWLINE# #INDENT# if ( not getattr ( f , '_lino_babel_field' , False ) ) : #NEWLINE# #INDENT# l . append ( filter . name ) #NEWLINE# #UNINDENT# #UNINDENT# l . sort ( ) #NEWLINE# #UNINDENT# return l