Commit 3691cd2f by Markus Törnqvist

Use smart_text() instead of nonexistant smart_unicode()

parent 85faebbb
......@@ -117,10 +117,10 @@ class Field(object):
self.source = source
if label is not None:
self.label = smart_unicode(label)
self.label = smart_text(label)
if help_text is not None:
self.help_text = smart_unicode(help_text)
self.help_text = smart_text(help_text)
def initialize(self, parent, field_name):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment