benkonrath / django-csv-export-view

Django class-based view for CSV exports
BSD 3-Clause "New" or "Revised" License
19 stars 3 forks source link

ImportError: cannot import name 'force_text' from 'django.utils.encoding' #15

Closed zoullou closed 1 year ago

zoullou commented 1 year ago

Hello,

I see in main branch that "force_text" usage was replaced by "force_str" but the last version of this package don't include this change and "force_text" was removed from Django 4. So could you release a new version with last fixes to allow use use this package with Django 4.

Thanks

benkonrath commented 1 year ago

Thanks for letting me know. I'll try to make a new release this week sometime.

benkonrath commented 1 year ago

Sorry for the delay. Making a release is on my radar but you'll have to install from git for now.

benkonrath commented 1 year ago

I just released 2.0.0 with the fixes.