Update exportu jména školy
This commit is contained in:
parent
dc5d111e88
commit
6bdb55ab98
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue