|
@ -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' |
|
|