diff options
author | Ernesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net> | 2016-08-20 19:27:40 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <ernesto.rico-schmidt@evolaris.net> | 2016-08-20 19:29:55 (GMT) |
commit | 7ed2912fd7d815561aac0caaa42d0dc63dc38d4e (patch) | |
tree | e1adbb1487a52c68060f34e22a2075a7c6d38067 | |
parent | a4e65be944763482155c224f62a1e6e3837d3833 (diff) |
removed unneeded distinct() method.
-rw-r--r-- | program/models.py | 2 |
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): |