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:
parent
d633cbfd6c
commit
0edb1244a1
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user