S3Boto3StorageImportError ==> ImportError: cannot import name 'force_text' from 'django.utils.encoding' #3292
-
I just upgraded to Django 4.0.x (using boto3 v1.17.39) but getting error below.
Looks like in Django4 these have been remove, django.utils.encoding.force_text() and smart_text(). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @wilberhdezmp, I believe you may have the wrong repository. The classes you're using aren't maintained by AWS and it doesn't look like Boto3 is actually used in this import chain. You'll likely want to file an issue with django-storage if you've already updated to the latest version. |
Beta Was this translation helpful? Give feedback.
Hi @wilberhdezmp, I believe you may have the wrong repository. The classes you're using aren't maintained by AWS and it doesn't look like Boto3 is actually used in this import chain.
You'll likely want to file an issue with django-storage if you've already updated to the latest version.