Open M1ha-Shvn opened 6 months ago
This can "fixed" by monkey patching the methods
from django.utils.encoding import force_str
from django.utils.translation import gettext
from django.utils.translation import ngettext
django.utils.encoding.force_text = force_str
django.utils.translation.ugettext = gettext
django.utils.translation.ungettext = ngettext
In Django 4.0+ an ImportError exception is raised on
from django.utils.encoding import force_text
as it is renamed to forse_str