#NEWLINE# @ classmethod #NEWLINE# def get_screenshot_requests( self , language ) : #NEWLINE# #INDENT# if ( self . model is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if self . model . _meta . abstract : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( self is not self . model . _lino_default_table ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# profiles2user = dict ( ) #NEWLINE# for u in settings . SITE . user_model . objects . filter ( language = language ) : #NEWLINE# #INDENT# if ( u . profile and ( u . profile . name in self . screenshot_profiles ) and ( not ( u . profile in profiles2user ) ) ) : #NEWLINE# #INDENT# profiles2user [ u . profile ] = u #NEWLINE# #UNINDENT# #UNINDENT# for user in list ( profiles2user . values ( ) ) : #NEWLINE# #INDENT# if self . detail_action : #NEWLINE# #INDENT# ( yield self . detail_action . request ( user = user ) )