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
/usr/local/lib/python3.8/site-packages/knox/auth.py:63: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
msg = _('Invalid token.')
After upgrading python 3.8.1 to version 3.8.10, I am seeing following error
\lib\site-packages\knox\auth.py", line 11, in <module>
from django.utils.translation import ugettext_lazy as _
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation'
#214
https://github.com/James1345/django-rest-knox/blob/develop/knox/auth.py#L10
Docs: https://docs.pytest.org/en/latest/warnings.html
The text was updated successfully, but these errors were encountered: