def create_comments(self, posts, users):
        from solace.models import Comment
        num = {'small': 3, 'medium': 6, 'large': 10}[self.data_set_size]
        last_date = posts[-1].created
        comments = 0
        for post in posts:
            for x in xrange(randrange(num)):
                comment = Comment(post, choice(users),
                                  generate_lorem_ipsum(1, False, 10, 40),
                                  self.get_date(last_date))
                last_date = comment.date
                comments += 1
        print 'Generated %d comments' % comments
Creates comments for the posts.
dataset/ETHPy150Open mitsuhiko/solace/solace/scripts.py/MakeTestDataCommand.create_comments