15five / django-scim2

A SCIM 2.0 Service Provider Implementation (for Django)
http://django-scim2.readthedocs.io/
Other
77 stars 27 forks source link

Incompatibility with django 4 #62

Closed flo-renaud closed 2 years ago

flo-renaud commented 2 years ago

Describe the bug django-scim2 is incompatible with django v4.0 which was released Dec 7, 2021.

The code in src/django_scim/models.py is using the API ugettext_lazy (see line 5). This API was deprecated in django v3.0 (Release notes) and should be replaced with gettext_lazy().

The same function is used in demo/app/models.py in line 4.

logston commented 2 years ago

Thanks! I'll try to get to this tomorrow.

flo-renaud commented 2 years ago

Thanks for the fix, works for me.