forked from 0x2620/pandora
all items
This commit is contained in:
parent
500de93b53
commit
47c5b51bdb
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Channel(models.Model):
|
||||||
list = models.ForeignKey('itemlist.List', related_name='channel', null=True, unique=True, blank=True)
|
list = models.ForeignKey('itemlist.List', related_name='channel', null=True, unique=True, blank=True)
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return u"%s %s" % (self.list, self.run)
|
return u"%s %s" % (self.list or 'All', self.run)
|
||||||
|
|
||||||
def json(self, user):
|
def json(self, user):
|
||||||
now = datetime.now()
|
now = datetime.now()
|
||||||
|
|
Loading…
Reference in a new issue