From 7ed2912fd7d815561aac0caaa42d0dc63dc38d4e Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Sat, 20 Aug 2016 21:27:40 +0200 Subject: removed unneeded distinct() method. diff --git a/program/models.py b/program/models.py index 19c51bb..9945145 100644 --- a/program/models.py +++ b/program/models.py @@ -260,7 +260,7 @@ class Show(models.Model): return reverse('show-detail', args=[self.slug]) def active_programslots(self): - return self.programslots.filter(until__gt=date.today()).distinct() + return self.programslots.filter(until__gt=date.today()) class RRule(models.Model): -- cgit v0.10.2