From 426e1cc569f181d731bb436a67b377cbfed3dfb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Koci=C3=A1n?= Date: Sat, 9 Jan 2016 14:08:20 +0100 Subject: [PATCH] =?UTF-8?q?Korektury:=20zobrazuj=20cel=C3=A9=20jm=C3=A9no?= =?UTF-8?q?=20autora?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- korektury/templates/korektury/opraf.html | 2 +- korektury/views.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/korektury/templates/korektury/opraf.html b/korektury/templates/korektury/opraf.html index 761e7d4a..3c211e16 100644 --- a/korektury/templates/korektury/opraf.html +++ b/korektury/templates/korektury/opraf.html @@ -26,7 +26,7 @@
{% csrf_token %} - +
diff --git a/korektury/views.py b/korektury/views.py index d2f0ff3a..58cbb2f5 100644 --- a/korektury/views.py +++ b/korektury/views.py @@ -30,7 +30,8 @@ class KorekturyView(generic.TemplateView): q = request.POST scroll = q.get('scroll') autor = q.get('au') - print "autor:" + str(autor) + + print "autor:" + unicode(autor) if not autor: autor = 'anonym' if not scroll: