unicode error in ImageBox

This commit is contained in:
Sanj 2011-06-19 14:36:23 +05:30
parent cbaa2b8400
commit 966ca75cb4

View File

@ -594,7 +594,7 @@ class ImageBox(models.Model):
opacity = models.FloatField() opacity = models.FloatField()
def __unicode__(self): def __unicode__(self):
return self.id return str(self.id)
def set_css(self, prop, val): def set_css(self, prop, val):
p = prop.replace("-", "_") p = prop.replace("-", "_")