From 966ca75cb48185288bdd903de08f0e078d16ffeb Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 19 Jun 2011 14:36:23 +0530 Subject: [PATCH] unicode error in ImageBox --- edgware/editor/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edgware/editor/models.py b/edgware/editor/models.py index 3717076..2ff89cf 100644 --- a/edgware/editor/models.py +++ b/edgware/editor/models.py @@ -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("-", "_")