unicode error in ImageBox
This commit is contained in:
parent
cbaa2b8400
commit
966ca75cb4
|
@ -594,7 +594,7 @@ class ImageBox(models.Model):
|
|||
opacity = models.FloatField()
|
||||
|
||||
def __unicode__(self):
|
||||
return self.id
|
||||
return str(self.id)
|
||||
|
||||
def set_css(self, prop, val):
|
||||
p = prop.replace("-", "_")
|
||||
|
|
Loading…
Reference in New Issue
Block a user