-
Notifications
You must be signed in to change notification settings - Fork 155
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
Django 3.x - cannot import name 'curry' from 'django.utils.functional' #130
Comments
It looks like this needs to be updated as part of dropping Python 2.x support. @mfonism has a branch in the works to do that, but I don't think |
@KatherineMichel You may simply change the imports from |
@mohsenone, @tiholic... a new release has been tagged and published. Thank you! https://pypi.org/project/pinax-blog/ |
Managed to recreate this bug from a fresh 8.0.0 install.
|
Oops! I inadvertently missed this one 🙈!! Just bit me in a side project a few minutes ago... But I see you have a PR for this, @neilmillard. |
@mohsenone @neilmillard @tiholic @mfonism I am so sorry, everyone. I could have sworn I fixed this! Otherwise, would not have closed issue. Maybe I pushed to the wrong branch. I've merged @neilmillard's PR and published a new package. https://pypi.org/project/pinax-blog/8.0.1/ |
In case anyone comes across this, the import is typod here and should be |
Describe the bug
ImportError: cannot import name 'curry' from 'django.utils.functional'
Reproduce behavior
django
,pinax-blog
django-admin
pinax.blog
andpinax.images
toINSTALLED_APPS
from django.utils.encoding import python_2_unicode_compatible
with:
from six import python_2_unicode_compatible
due to this issuepython3 manage.py runserver
orpython3 manage.py migrate
The text was updated successfully, but these errors were encountered: