anexia-it / django-rest-passwordreset

An extension of django rest framework, providing a configurable password reset strategy
BSD 3-Clause "New" or "Revised" License
419 stars 148 forks source link

RemovedInDjango40Warning #95

Closed amitassaraf closed 4 years ago

amitassaraf commented 4 years ago

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")
....
anx-cbenke commented 4 years ago

This has finally been fixed in #83

christianbos commented 3 years ago

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?