Commit bb5d5677 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Merge branch '963-remove-cancelled-registration-from-personal-ical' into 'master'

Events on personal ical feed are now excluded if someone deregistered

Closes #963

See merge request !1428
parents da08c9c4 5c3d9ede
......@@ -39,7 +39,8 @@ class EventFeed(ICalFeed):
if self.user:
query &= (Q(registration_start__isnull=True) |
& Q(registration__date_cancelled=None)))
return Event.objects.filter(query).order_by('-start')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment