0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

unicode() doesn't exist in PY3, changed to str()

This commit is contained in:
John-Scott Atlakson 2014-10-23 03:18:14 -04:00
parent d633cbfd6c
commit 0edb1244a1

View File

@ -996,7 +996,7 @@ class PageRevision(models.Model):
page_published.send(sender=page.specific_class, instance=page.specific)
def __str__(self):
return '"' + unicode(self.page) + '" at ' + unicode(self.created_at)
return '"' + str(self.page) + '" at ' + str(self.created_at)
PAGE_PERMISSION_TYPE_CHOICES = [