summaryrefslogtreecommitdiff
path: root/program/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'program/models.py')
-rw-r--r--program/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/models.py b/program/models.py
index 7951c35..b5123cb 100644
--- a/program/models.py
+++ b/program/models.py
@@ -240,7 +240,7 @@ class Host(models.Model):
return reverse('host-detail', args=[str(self.id)])
def active_shows(self):
- return self.shows.filter(programslots__until__gt=datetime.today)
+ return self.shows.filter(programslots__until__gt=datetime.today).distinct()
class Show(models.Model):