From 1f64352210cdeeab0912dfa0e2cfff769c85089f Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Fri, 17 Feb 2017 10:57:52 +0100 Subject: [PATCH] fix upload_js --- apps/fileupload/templatetags/upload_tags.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/fileupload/templatetags/upload_tags.py b/apps/fileupload/templatetags/upload_tags.py index e49566fb..816c8285 100644 --- a/apps/fileupload/templatetags/upload_tags.py +++ b/apps/fileupload/templatetags/upload_tags.py @@ -4,13 +4,14 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django import template +from django.utils.safestring import mark_safe register = template.Library() @register.simple_tag def upload_js(): - return """ + return mark_safe(""" -""" +""") -- 2.20.1