Exemplo n.º 1
0
 def save(self, *args, **kwargs):
     self.text = markdown2.markdown(self.markdown_text)
     self.text = sanitize(self.text)
     super(Question, self).save(*args, **kwargs)
Exemplo n.º 2
0
 def save(self, *args, **kwargs):
     self.description = markdown2.markdown(self.markdown_description)
     self.description = sanitize(self.description)
     super(Enterprise, self).save(*args, **kwargs)
Exemplo n.º 3
0
 def save(self, *args, **kwargs):
     self.content = markdown2.markdown(self.markdown_content)
     self.content = sanitize(self.content)
     super(Message, self).save(*args, **kwargs)
Exemplo n.º 4
0
 def save(self, *args, **kwargs):
     self.review = markdown2.markdown(self.markdown_review)
     self.review = sanitize(self.review)
     super(Review, self).save(*args, **kwargs)
Exemplo n.º 5
0
 def save(self, *args, **kwargs):
     self.description = markdown2.markdown(self.markdown_description)
     self.description = sanitize(self.description)
     super(Activity, self).save(*args, **kwargs)