Merge pull request #37 from andkit/master

Fix UnicodeError on widgets page
This commit is contained in:
Oskar Hahn 2012-11-07 13:35:24 -08:00
commit 030058fb7c

View File

@ -139,6 +139,9 @@ class Widget(object):
def __repr__(self): def __repr__(self):
return unicode(self.display_name) return unicode(self.display_name)
def __unicode__(self):
return unicode(self.display_name)
@receiver(projector_overlays, dispatch_uid="projector_countdown") @receiver(projector_overlays, dispatch_uid="projector_countdown")
def countdown(sender, **kwargs): def countdown(sender, **kwargs):