-
Notifications
You must be signed in to change notification settings - Fork 25
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 when run test #77
Comments
After I fix that in my local package, I meet new problem:
I have no idea why this error occurs. Can you give me some guidance please? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Problem
When I try to run test code:
Exception is raised that
ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/home/holder/repo/dyf_api/venv/lib/python3.7/site-packages/django/utils/encoding.py)
, which, I believe, is caused by an old version of django.Suggestion
After searching some information, I find some a similar issue in other packages about django, which says after a special version of django, method
python_2_unicode_compatible
is moved tosix
, so I think maybe you can update this path.The text was updated successfully, but these errors were encountered: