Permalink
Browse files

Replaced str.format with str on article-object

  • Loading branch information...
atombrella authored and benjaoming committed Nov 22, 2017
1 parent 043cbca commit 24e3920490cda989ab1b2e814dc9f05cb80d822a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wiki/models/article.py
@@ -244,7 +244,7 @@ class ArticleForObject(models.Model):
is_mptt = models.BooleanField(default=False, editable=False)
def __str__(self):
return "{}".format(self.article)
return str(self.article)
class Meta:
verbose_name = _('Article for object')

0 comments on commit 24e3920

Please sign in to comment.