def save(self, *args, **kwargs): self.text = markdown2.markdown(self.markdown_text) self.text = sanitize(self.text) super(Question, self).save(*args, **kwargs)
def save(self, *args, **kwargs): self.description = markdown2.markdown(self.markdown_description) self.description = sanitize(self.description) super(Enterprise, self).save(*args, **kwargs)
def save(self, *args, **kwargs): self.content = markdown2.markdown(self.markdown_content) self.content = sanitize(self.content) super(Message, self).save(*args, **kwargs)
def save(self, *args, **kwargs): self.review = markdown2.markdown(self.markdown_review) self.review = sanitize(self.review) super(Review, self).save(*args, **kwargs)
def save(self, *args, **kwargs): self.description = markdown2.markdown(self.markdown_description) self.description = sanitize(self.description) super(Activity, self).save(*args, **kwargs)