Use smart_text() instead of nonexistant smart_unicode()

This commit is contained in:
Markus Törnqvist 2013-05-18 13:26:59 +03:00
parent 85faebbb75
commit 3691cd2ffd

View File

@ -117,10 +117,10 @@ class Field(object):
self.source = source self.source = source
if label is not None: if label is not None:
self.label = smart_unicode(label) self.label = smart_text(label)
if help_text is not None: 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): def initialize(self, parent, field_name):
""" """