Get visible comments for the model.

def get_public_comments_for_model(model):
    """
    Get visible comments for the model.
    """
    if not IS_INSTALLED:
        # No local comments, return empty queryset.
        # The project might be using DISQUS or Facebook comments instead.
        return CommentModelStub.objects.none()
    else:
        return CommentModel.objects.for_model(model).filter(is_public=True, is_removed=False)