From: yomguy Date: Thu, 19 Jul 2012 14:15:12 +0000 (+0200) Subject: add OSC str X-Git-Tag: 0.9~52 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c194ef94e86a32eeaca8418c61522157ed335c45;p=telecaster-client.git add OSC str --- diff --git a/telecaster/models.py b/telecaster/models.py index 3cd14ec..fc21201 100644 --- a/telecaster/models.py +++ b/telecaster/models.py @@ -76,6 +76,9 @@ class OSC(Model): host = CharField(_('host'), max_length=255) port = IntegerField(_('port')) + def __unicode__(self): + return self.host + ':' + str(self.port) + class Meta: db_table = app_label + '_' + 'osc'