From 6bdb55ab98612383a55c89003c6aa346f99b4a98 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Sun, 17 May 2015 07:41:47 +0200 Subject: [PATCH] =?UTF-8?q?Update=20exportu=20jm=C3=A9na=20=C5=A1koly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/export.py b/seminar/export.py index c4b2c73d..a6ca7ff5 100644 --- a/seminar/export.py +++ b/seminar/export.py @@ -71,7 +71,7 @@ class ExportRocnikView(generic.DetailView): if v.resitel.skola: rd['school'] = v.resitel.skola.aesop_id - rd['school-name'] = v.resitel.skola.nazev + rd['school-name'] = str(v.resitel.skola) else: rd['school'] = '' rd['school-name'] = 'Skola neni znama'