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

Python 3 error: ImportError: cannot import name force_unicode #38

Closed
Hanan-Natan opened this issue Feb 12, 2014 · 2 comments
Closed

Python 3 error: ImportError: cannot import name force_unicode #38

Hanan-Natan opened this issue Feb 12, 2014 · 2 comments

Comments

@Hanan-Natan
Copy link

It seems that using force_unicode in python 3 is not supported by django as states in the docs that force_unicode is "Historical name of force_text(). Only available under Python 2."

https://docs.djangoproject.com/en/dev/ref/utils/#django.utils.encoding.force_unicode

@SmileyChris
Copy link
Owner

Are you sure you're using the latest version? There's no reference to force_unicode in v2

@Hanan-Natan
Copy link
Author

You are right. I used PyCharm to install it and for some reason it installed v1.5 and not the latest.
Thanks.

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

2 participants