diff --git a/seminar/export.py b/seminar/export.py index 2e7d6bd2..3d422614 100644 --- a/seminar/export.py +++ b/seminar/export.py @@ -17,7 +17,7 @@ class ExportIndexView(generic.View): url = reverse('seminar_export_rocnik', kwargs={'prvni_rok': r.prvni_rok}) ls.append(url.split('/')[-1]) for s in Soustredeni.objects.all(): - if s.ucastnici.count() >= 1: + if s.ucastnici.count() >= 1 and s.verejne: url = reverse('seminar_export_sous', kwargs={'datum_zacatku': s.datum_zacatku.isoformat()}) ls.append(url.split('/')[-1])