You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when trying to install the recent version of django-rest-auth with Django 4 since it uses the deprecated function ugettext_lazy from django.utils.translation the error :
File "/path/to/views/views.py", line 8, in <module>
from rest_auth.registration.serializers import SocialLoginSerializer
File "/path/to/python3.8/site-packages/rest_auth/registration/serializers.py", line 2, in <module>
from django.utils.translation import ugettext_lazy as _
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (/path/to/venv/lib/python3.8/site-packages/django/utils/translation/__init__.py)
The text was updated successfully, but these errors were encountered:
when trying to install the recent version of
django-rest-auth
with Django 4 since it uses the deprecated functionugettext_lazy
fromdjango.utils.translation
the error :The text was updated successfully, but these errors were encountered: