This commit is contained in:
Patrick Altman 2015-10-16 19:54:11 -05:00
parent 11f697d137
commit 031ee3807e

View file

@ -312,7 +312,7 @@ class Comment(models.Model):
verbose_name_plural = _("comments")
def save(self, *args, **kwargs):
self.comment_html = parse(self.comment)
self.text_html = parse(self.text)
return super(Comment, self).save(*args, **kwargs)