diff options
-rw-r--r-- | feeds.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ class IcalFeed(Feed): def get_object(self, request, timetable_slug, group_slug): try: timetable = Timetable.objects.get(slug=timetable_slug) - group = Group.objects.get(timetable=timetable, slug=group_slug) + group = Group.objects.get(timetable=timetable, slug=group_slug, active=True) except: raise ObjectDoesNotExist else: |