Fix typo
This commit is contained in:
parent
11f697d137
commit
031ee3807e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue