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
Because of that django-oscar-paypal threw an error when using it with Django3: ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/home/me/.virtualenvs/oscar/lib/python3.7/site-packages/django/utils/encoding.py)
In Django 3 they dropped support for Python2 compatibility APIs:
https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis
Because of that django-oscar-paypal threw an error when using it with Django3:
ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/home/me/.virtualenvs/oscar/lib/python3.7/site-packages/django/utils/encoding.py)
I found the solution for that problem here:
https://forum.djangoproject.com/t/python-2-unicode-compatible/715
In short - The compatibility api is available as standalone package:
https://pypi.org/project/six/
Are there any other issues known that could avoid the django 3 compatibility?
The text was updated successfully, but these errors were encountered: