Example #1
0
 def save(self, *args, **kwargs):
     self.text = html_transforms.clean_html_field(self.text)
     super().save(*args, **kwargs)
Example #2
0
 def save(self, *args, **kwargs):
     self.information = html_transforms.clean_html_field(
         self.information, 'image-editor')
     self.result = html_transforms.clean_html_field(
         self.result, 'image-editor')
     super(Project, self).save(*args, **kwargs)
Example #3
0
 def save(self, *args, **kwargs):
     self.description = html_transforms.clean_html_field(
         self.description)
     super(Idea, self).save(*args, **kwargs)