<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save(self, *args, **kwargs):
 """ Overrides the save method to create an excerpt from the content field if void. """

        if not self.excerpt and self.status == PUBLISHED:
            self.excerpt = Truncator(strip_tags(
                getattr(self, 'content', ''))).words(50)
        super(ExcerptEntry, self).save(*args, **kwargs)