summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net>2016-08-20 19:27:40 (GMT)
committerErnesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net>2016-08-20 19:29:55 (GMT)
commit7ed2912fd7d815561aac0caaa42d0dc63dc38d4e (patch)
treee1adbb1487a52c68060f34e22a2075a7c6d38067 /program
parenta4e65be944763482155c224f62a1e6e3837d3833 (diff)
removed unneeded distinct() method.
Diffstat (limited to 'program')
-rw-r--r--program/models.py2
1 files changed, 1 insertions, 1 deletions
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):