fix stupid unicode error
authorJan Szejko <janek37@gmail.com>
Thu, 24 May 2018 15:08:21 +0000 (17:08 +0200)
committerJan Szejko <janek37@gmail.com>
Thu, 24 May 2018 15:08:21 +0000 (17:08 +0200)
src/ajaxable/templatetags/ajaxable_tags.py

index 9af58e9..31897d1 100644 (file)
@@ -23,7 +23,7 @@ def placeholdized_ul(form):
 @register.filter
 def pretty_field(field, template=None):
     if template is None:
-        template = '''
+        template = u'''
             <li>
               <span class="error">%(errors)s</span>
               <label class="nohide"><span class="label">%(label)s: </span>%(input)s</label>