Skip to content

Commit f7b8979

Browse files
committed
Fixed old unicode() reference in Placeholder.__repr__()
1 parent 561bedc commit f7b8979

File tree

1 file changed

+1
-1
lines changed
  • fluent_contents/models

1 file changed

+1
-1
lines changed

fluent_contents/models/db.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __str__(self):
8181
return self.title or self.slot
8282

8383
def __repr__(self):
84-
return '<{0}: {1}; slot: {2}>'.format(self.__class__.__name__, unicode(self), self.slot)
84+
return '<{0}: {1}; slot: {2}>'.format(self.__class__.__name__, self, self.slot)
8585

8686
def get_allowed_plugins(self):
8787
"""

0 commit comments

Comments
 (0)