req = urllib.request.Request('http://wordoff.org/api/clean', data)
response = urllib.request.urlopen(req)
return response.read()

def save(self, **kwargs):
    if not self.pk:
        self.content = decruft(self.content)
super(FlatPage, self).save(**kwargs)
Как преобразовать документ Word в очень простой html в Python?