smart_unicode lies in django.utils.encoding in the newest django; see: http://docs...