This commit is contained in:
Martin Pépin 2016-07-16 02:41:15 +02:00
parent 998298ccdc
commit a6b5fe0863

View file

@ -655,7 +655,7 @@ def calendar(request):
def calendar_ics(request, token):
subscription = get_object_or_404(CalendarSubscription, token=token)
shows = set(subscription.other_shows.all()) \
| {attr.show
| {attr.spectacle
for attr in Attribution.objects.filter(
participant__user=subscription.user,
participant__tirage__active=True)}