Skip to content
Snippets Groups Projects

Events on personal ical feed are now excluded if someone deregistered

1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -39,7 +39,8 @@ class EventFeed(ICalFeed):
if self.user:
query &= (Q(registration_start__isnull=True) |
Q(registration__member=self.user))
(Q(registration__member=self.user)
& Q(registration__date_cancelled=None)))
return Event.objects.filter(query).order_by('-start')
Loading