Replaced call to `unicode()` with `django.utils.encoding.force_text()`