From 4460a048ec678c70fabbf0e6237cf2aaa77474d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Koci=C3=A1n?= Date: Thu, 6 Apr 2017 12:34:22 +0200 Subject: [PATCH] =?UTF-8?q?tex-upload:=20fix=20nastaven=C3=A9ho=20=C4=8D?= =?UTF-8?q?=C3=ADsla=20=C5=99e=C5=A1en=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/views.py b/seminar/views.py index 4c0506dd..13054e5b 100644 --- a/seminar/views.py +++ b/seminar/views.py @@ -841,7 +841,7 @@ def texUploadView(request): if meta["typ"] == "reseni": problem.text_reseni = html - problem.cislo_reseni = cislo + problem.cislo_reseni = meta["cislo_reseni"] # při nahrávání řešení už původní zadání atd. neměníme else: problem.text_zadani = html