X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/93da6796796d43def17c8adde0f194489cc14b01..e4ddfe1b3a3bfa982386284d9859c64862cb6c08:/src/ajaxable/templatetags/ajaxable_tags.py diff --git a/src/ajaxable/templatetags/ajaxable_tags.py b/src/ajaxable/templatetags/ajaxable_tags.py index 72b9baad4..31897d1b0 100644 --- a/src/ajaxable/templatetags/ajaxable_tags.py +++ b/src/ajaxable/templatetags/ajaxable_tags.py @@ -3,6 +3,7 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django import template +from django.utils.encoding import force_unicode from django.utils.safestring import mark_safe from ajaxable.utils import placeholdized @@ -22,7 +23,7 @@ def placeholdized_ul(form): @register.filter def pretty_field(field, template=None): if template is None: - template = ''' + template = u'''