From 0cd2e63b82720c66ca0c711296eaf96209f31394 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Thu, 25 Nov 2021 21:46:17 +0100 Subject: [PATCH] =?UTF-8?q?Opraven=C3=A9=20cirkul=C3=A1rn=C3=AD=20importy?= =?UTF-8?q?=20[UGLY]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/views/views_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index c6d0b853..7e766541 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -19,7 +19,6 @@ import treenode.templatetags as tnltt import treenode.serializers as vr from vysledkovky.utils import body_resitelu from vysledkovky.views import vysledkovka_rocniku, vysledkovka_cisla -from personalni.views import dataResiteluCsvResponse from datetime import date, datetime from django.utils import timezone @@ -392,6 +391,7 @@ class RocnikView(generic.DetailView): return context def resiteleRocnikuCsvExportView(request, rocnik): + from personalni.views import dataResiteluCsvResponse assert request.method in ('GET', 'HEAD') return dataResiteluCsvResponse( utils.resi_v_rocniku(