Пример #1
0
 def save(self, *args, **kwargs):
     self.slug = slugify(self.name)
     self.summary = markup(self.summary_raw)
     self.description = markup(self.description_raw)
     super(Project, self).save(*args, **kwargs)
Пример #2
0
 def save(self, *args, **kwargs):
     self.statement = markup(self.statement_raw)
     super(Testimonial, self).save(*args, **kwargs)
Пример #3
0
 def save(self, *args, **kwargs):
     """run content markup"""
     self.content = markup(self.content_raw)
     super(Picture, self).save(*args, **kwargs)
Пример #4
0
 def save(self, *args, **kwargs):
     """run teaser and content markup"""
     self.teaser = markup(self.teaser_raw)
     self.content = markup(self.content_raw)
     super(Article, self).save(*args, **kwargs)
Пример #5
0
 def save(self, *args, **kwargs):
     self.about = markup(self.about_raw)
     super(Profile, self).save(*args, **kwargs)
Пример #6
0
 def save(self, *args, **kwargs):
     self.slug = slugify(self.name)
     self.content = markup(self.content_raw)
     super(Page, self).save(*args, **kwargs)