aaronn / django-rest-framework-passwordless

Passwordless Auth for Django REST Framework
MIT License
708 stars 153 forks source link

Incompatible with Django 4.0+ #105

Closed tghw closed 2 years ago

tghw commented 2 years ago

Throws an ImportError on drfpasswordless/serializers.py trying to import ugettext_lazy, which has been deprecated since Django 3.0 and removed in Django 4.0. Fix is to replace with gettext_lazy, which has been identical to ugettext_lazy since Django 2.0.

Pull Request #104

aaronn commented 2 years ago

Merged

tghw commented 2 years ago

Thank you!