def committees_legislators(self, *args, **kwargs):
committees = list(self.committees(*args, **kwargs))<EOL>legislators = self.legislators({'<STR_LIT>': True},<EOL>fields=['<STR_LIT>',<EOL>settings.LEVEL_FIELD])<EOL>_legislators = {}<EOL>for obj in legislators:<EOL><INDENT>if '<STR_LIT>' in obj:<EOL><INDENT>for _id in obj['<STR_LIT>']:<EOL><INDENT>_legislators[_id] = obj<EOL><DEDENT><DEDENT>else:<EOL><INDENT>_legislators[obj['<STR_LIT>']] = obj<EOL><DEDENT><DEDENT>del legislators<EOL>for com in committees:<EOL><INDENT>com._legislators = _legislators<EOL><DEDENT>return committees<EOL>
Return an iterable of committees with all the
        legislators cached for reference in the Committee model.
        So do a "select_related" operation on committee members.