code: def save(self, *args, **kwargs):
          
          if not self.excerpt and self.status == PUBLISHED:
              self.excerpt = Truncator(strip_tags(
                  getattr(self, 'content', ''))).words(50)
          super(ExcerptEntry, self).save(*args, **kwargs)
docs: Overrides the save method to create an excerpt
          from the content field if void.