You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
im trying to implement graph_wrap into an existing project that runs with Django 4.0.1
keep getting the following error
ImportError: cannot import name 'force_text' from 'django.utils.encoding
The text was updated successfully, but these errors were encountered:
Hi @kurte32 !
Thanks for raising this. I was not aware of this, but it looks like this is due to the fact that one of graph-wrap's dependencies, graphene-django, does not yet correctly support Django 4. See graphql-python/graphene-django#1284. Apparently they're working on a fix but I don't see a release date or anything. Until then you can try following the workaround here https://stackoverflow.com/questions/70382084/import-error-force-text-from-django-utils-encoding or moving to a lower Django version.
As soon as graphene-django supports Django 4 I will upgrade the graph-wrap graphene-django dependency to also support Django 4.
Hi
im trying to implement graph_wrap into an existing project that runs with Django 4.0.1
keep getting the following error
ImportError: cannot import name 'force_text' from 'django.utils.encoding
The text was updated successfully, but these errors were encountered: