From 0ec8141b5448714818c0d05594349c6abc4ee899 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Sun, 17 May 2015 02:08:12 +0200 Subject: [PATCH] Fix url reverse v exportu --- seminar/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/export.py b/seminar/export.py index 7658321a..c4b2c73d 100644 --- a/seminar/export.py +++ b/seminar/export.py @@ -13,7 +13,7 @@ class ExportIndexView(generic.base.TemplateView): context['exports'] = [] for r in Rocnik.objects.all(): 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]) return context