anexia-it / django-rest-passwordreset

An extension of django rest framework, providing a configurable password reset strategy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RemovedInDjango40Warning

amitassaraf opened this issue · comments

Using this library in Django 3.0+ yields a few RemovedInDjango40Warning warnings:

RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
  verbose_name = _("Password Reset Token")
....

This has finally been fixed in #83

Hi, im installing the package with pip install django-rest-passwordreset but this warning still appearing, the package code has the .ugettext_lazy() method. Any idea of what happen?