|
@ -13,7 +13,7 @@ class ExportIndexView(generic.base.TemplateView): |
|
|
context['exports'] = [] |
|
|
context['exports'] = [] |
|
|
for r in Rocnik.objects.all(): |
|
|
for r in Rocnik.objects.all(): |
|
|
if r.verejna_cisla(): |
|
|
if r.verejna_cisla(): |
|
|
url = reverse('seminar:export_rocnik', kwargs={'prvni_rok': r.prvni_rok}) |
|
|
url = reverse('seminar_export_rocnik', kwargs={'prvni_rok': r.prvni_rok}) |
|
|
context['exports'].append(url.split('/')[-1]) |
|
|
context['exports'].append(url.split('/')[-1]) |
|
|
return context |
|
|
return context |
|
|
|
|
|
|
|
|