etianen / django-s3-storage

Django Amazon S3 file storage.
BSD 3-Clause "New" or "Revised" License
414 stars 94 forks source link

Django 4.0: replace deprecated `force_text` with `force_str` #130

Closed kevinmarsh closed 3 years ago

kevinmarsh commented 3 years ago

I was just trying out the Django 4.0 alpha 1 in a project and force_text has been removed in Django 4.0 (was deprecated in 3.0).

In Django 3.2 it was just an alias to force_str and in older Django's like 1.11 (which still needed to support Python2) it was doing a bit more.

etianen commented 3 years ago

Nice, thank you :)