Skip to content

Support Django 3.0 #255

@snake-soft

Description

@snake-soft

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions