def truncate(self):
        return Truncator(self.content).words(
            self.max_words, self.more_string, html=True)
Truncate the content with the Truncator object.
dataset/ETHPy150Open Fantomas42/django-blog-zinnia/zinnia/preview.py/HTMLPreview.truncate