saxix/django-adminactions

Error importing curry on django==3.0

nl-emmanuellodovice opened this issue · 5 comments

ImportError: cannot import name 'curry' from 'django.utils.functional' (lib/python3.7/site-packages/django/utils/functional.py)

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.

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 ?

@marcasteroid wait until the author has time to rewrite the pieces that require Curry, or use Django 2

saxix commented

fixed in 1.8.1