Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' #504

Open
Jocelyn-AGORO opened this issue Mar 1, 2022 · 2 comments

Comments

@Jocelyn-AGORO
Copy link

in my research I find that 'python_2_unicode_compatible' was removed since django 3.0 https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis. How can I resolve this problem ?

@Barukimang
Copy link

You can install this version: https://pypi.org/project/django-jet-4/

@wendimub
Copy link

currently, if you are using django3.0, instead of django.utils.encoding use django.utils.six

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants