Switch from smart_unicode/force_unicode to force_text.
Review Request #10206 — Created Oct. 9, 2018 and submitted — Latest diff uploaded
Django's
smart_unicode
andforce_unicode
functions were deprecated
long ago in favor ofsmart_text
andforce_text
. We use both in a few
places, though forsmart_unicode
we really wanted theforce_
versions.This change updates the code to call these modern methods instead,
getting us a small step toward modern Django compatibility.
Unit tests pass.