Error importing curry on django==3.0
nl-emmanuellodovice opened this issue · 5 comments
nl-emmanuellodovice commented
ImportError: cannot import name 'curry' from 'django.utils.functional' (lib/python3.7/site-packages/django/utils/functional.py)
mattpavelle commented
Yeah - curry has been removed from Django 3.0 (see: https://docs.djangoproject.com/en/3.0/_modules/django/utils/functional/)
I'm not a contributor - just pointing out that this is due to changes in Django, not a bug in this project.
marcasteroid commented
I'm trying to use
django-rest-framework-social-oauth2==1.1.0
but get the error
from django.utils.functional import curry, Promise
ImportError: cannot import name 'curry' from 'django.utils.functional'
What to do now ?
mattpavelle commented
@marcasteroid wait until the author has time to rewrite the pieces that require Curry, or use Django 2
emanlodovice commented
seems to be fixed in 18451a0#diff-ad79f90c12c370ca9724f78e0e072d96
saxix commented
fixed in 1.8.1