X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/652e2d66d7f88cc6b857edc4aaac7e14a654eb36..refs/heads/search-experimental:/src/ajaxable/templatetags/ajaxable_tags.py?ds=inline diff --git a/src/ajaxable/templatetags/ajaxable_tags.py b/src/ajaxable/templatetags/ajaxable_tags.py index c262a92c3..55059e55b 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 @@ -26,8 +27,14 @@ def pretty_field(field, template=None):