all items

This commit is contained in:
j 2011-12-20 03:32:10 +05:30
parent 500de93b53
commit 47c5b51bdb

View file

@ -18,7 +18,7 @@ class Channel(models.Model):
list = models.ForeignKey('itemlist.List', related_name='channel', null=True, unique=True, blank=True)
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):
now = datetime.now()