Update exportu jména školy

This commit is contained in:
Tomas Gavenciak 2015-05-17 07:41:47 +02:00
parent dc5d111e88
commit 6bdb55ab98

View file

@ -71,7 +71,7 @@ class ExportRocnikView(generic.DetailView):
if v.resitel.skola: if v.resitel.skola:
rd['school'] = v.resitel.skola.aesop_id rd['school'] = v.resitel.skola.aesop_id
rd['school-name'] = v.resitel.skola.nazev rd['school-name'] = str(v.resitel.skola)
else: else:
rd['school'] = '' rd['school'] = ''
rd['school-name'] = 'Skola neni znama' rd['school-name'] = 'Skola neni znama'