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)
def save(self, *args, **kwargs): self.statement = markup(self.statement_raw) super(Testimonial, self).save(*args, **kwargs)
def save(self, *args, **kwargs): """run content markup""" self.content = markup(self.content_raw) super(Picture, self).save(*args, **kwargs)
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)
def save(self, *args, **kwargs): self.about = markup(self.about_raw) super(Profile, self).save(*args, **kwargs)
def save(self, *args, **kwargs): self.slug = slugify(self.name) self.content = markup(self.content_raw) super(Page, self).save(*args, **kwargs)