You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded Django to 4.0 and I'm getting an error:
File "//easy_select2/__init__.py", line 1, in <module>
from easy_select2.utils import select2_modelform_meta, select2_modelform, \
File "easy_select2/utils.py", line 5, in <module>
from easy_select2 import forms as es2_forms
File "easy_select2/forms.py", line 4, in <module>
from django.utils.encoding import force_text
ImportError: cannot import name 'force_text' from 'django.utils.encoding' (django/utils/encoding.py)
We need to change force_text to force_str
The text was updated successfully, but these errors were encountered:
I upgraded Django to 4.0 and I'm getting an error:
We need to change force_text to force_str
The text was updated successfully, but these errors were encountered: