tkhyn / django-gm2m

MIT License
35 stars 23 forks source link

Django 4.0 incompatibility due to deprecated function #56

Closed stoffi92 closed 2 years ago

stoffi92 commented 2 years ago

As of https://docs.djangoproject.com/en/4.0/releases/3.0/#deprecated-features-3-0 django.utils.encoding.force_text() has been deprecated with django 3.0 and with django 4.0 has been removed from the django.

A quick search in the repo gives two occurrences of force_text which are incompatible with django-4.0:

Cheers Christoph

ghost commented 2 years ago

looks like this project is not developed anymore.

jvacek commented 2 years ago

There's an open PR #55 for this, and a large amount of the forks seem to have it implemented. @tkhyn any chance to take a look at this? Was looking at using this package but I might avoid it if I know I'll have to remove it next time I upgrade Django.

tkhyn commented 2 years ago

Hi

Sorry for popping up a bit late. For some reason I did not get any email notifications about this issue nor the linked PR and just got @jvacek's last reply.

I will merge the PR in the develop branch, but will not push a new release as deeper changes - that I am not prepared to do - are required to make django-gm2m compatible with Django 3.2+.