def formfield_for_manytomany(self, db_field, request, **kwargs):
if db_field.name == '<STR_LIT>':<EOL><INDENT>kwargs['<STR_LIT>'] = Author.published.all()<EOL><DEDENT>if db_field.name == '<STR_LIT>':<EOL><INDENT>kwargs['<STR_LIT>'] = tags_published()<EOL><DEDENT>return super(CMSLatestEntriesPlugin, self).formfield_for_manytomany(<EOL>db_field, request, **kwargs)<EOL>
Filtering manytomany field