|
@ -17,7 +17,7 @@ class ExportIndexView(generic.View): |
|
|
url = reverse('seminar_export_rocnik', kwargs={'prvni_rok': r.prvni_rok}) |
|
|
url = reverse('seminar_export_rocnik', kwargs={'prvni_rok': r.prvni_rok}) |
|
|
ls.append(url.split('/')[-1]) |
|
|
ls.append(url.split('/')[-1]) |
|
|
for s in Soustredeni.objects.all(): |
|
|
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()}) |
|
|
url = reverse('seminar_export_sous', kwargs={'datum_zacatku': s.datum_zacatku.isoformat()}) |
|
|
ls.append(url.split('/')[-1]) |
|
|
ls.append(url.split('/')[-1]) |
|
|
|
|
|
|
|
|