diff options
author | Alban Gruin | 2017-09-07 12:41:54 +0200 |
---|---|---|
committer | Alban Gruin | 2017-09-07 12:41:54 +0200 |
commit | f30d386588ca73cfab69a58b69db427bc31056af (patch) | |
tree | 7dd43889ac6d268b01e0f6cb0f3be6ee4ac28625 /feeds.py | |
parent | e1867b989a913612cf2c4c76e8cecd60f479b4c2 (diff) |
Le icalendar ne prend en compte que les cours actifsdev/db
Diffstat (limited to 'feeds.py')
-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: |