|
@ -19,7 +19,6 @@ import treenode.templatetags as tnltt |
|
|
import treenode.serializers as vr |
|
|
import treenode.serializers as vr |
|
|
from vysledkovky.utils import body_resitelu |
|
|
from vysledkovky.utils import body_resitelu |
|
|
from vysledkovky.views import vysledkovka_rocniku, vysledkovka_cisla |
|
|
from vysledkovky.views import vysledkovka_rocniku, vysledkovka_cisla |
|
|
from personalni.views import dataResiteluCsvResponse |
|
|
|
|
|
|
|
|
|
|
|
from datetime import date, datetime |
|
|
from datetime import date, datetime |
|
|
from django.utils import timezone |
|
|
from django.utils import timezone |
|
@ -392,6 +391,7 @@ class RocnikView(generic.DetailView): |
|
|
return context |
|
|
return context |
|
|
|
|
|
|
|
|
def resiteleRocnikuCsvExportView(request, rocnik): |
|
|
def resiteleRocnikuCsvExportView(request, rocnik): |
|
|
|
|
|
from personalni.views import dataResiteluCsvResponse |
|
|
assert request.method in ('GET', 'HEAD') |
|
|
assert request.method in ('GET', 'HEAD') |
|
|
return dataResiteluCsvResponse( |
|
|
return dataResiteluCsvResponse( |
|
|
utils.resi_v_rocniku( |
|
|
utils.resi_v_rocniku( |
|
|