#NEWLINE# def group_permissions( self , group , perm , obj , approved = True ) : #NEWLINE# #INDENT# '\n        Get objects that have Group perm permission on\n        ' #NEWLINE# return self . get_for_model ( obj ) . select_related ( 'user' , 'group' , 'creator' ) . filter ( group = group , codename = perm , approved = approved )