From ba4110933910d15e8aee32ee3a8e3f2a6b8abf0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Koci=C3=A1n?= Date: Sat, 5 Mar 2016 22:19:10 +0100 Subject: [PATCH] =?UTF-8?q?tex-html:=20fix=20ukl=C3=A1d=C3=A1n=C3=AD=20obr?= =?UTF-8?q?=C3=A1zk=C5=AF=20po=20zm=C4=9Bn=C4=9B=20cest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seminar/views.py b/seminar/views.py index f1aa43d9..d2477ca1 100644 --- a/seminar/views.py +++ b/seminar/views.py @@ -565,7 +565,8 @@ def texUploadView(request): def uloz_soubory(files, rocnik, cislo): for filename, f in files: - path = "{}/{}/{}/{}".format( + path = os.path.join( + settings.MEDIA_ROOT, settings.CISLO_IMG_DIR, rocnik, cislo,