id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 16524 Add a manager/queryset method in contrib.comments to fetch comments not in moderation Mathieu Pillard Justin Lilly "django.contrib.comments has a query to fetch all comments that are not in moderation, i.e. all the ""publicly viewable"" comments. It's hidden inside the BaseCommentNode class in templatetags/comments though, which means developers using django.contrib.comments wanting to fetch publicly viewable comments outside of a templatetag context must violate DRY and copy/paste the filters themselves. Attached is a patch that moves this code to a manager/queryset method, and that pass all current tests. It also makes possible to use the other manager methods (in_moderation, for_model) as queryset methods." New feature closed contrib.comments dev Normal wontfix Accepted 1 1 0 0 0 0