cannot import name ugettext_lazy from django.utils.translation django-axes
sandeepkmr088 opened this issue · comments
It was removed from Django 4, use this instead
use this :
from django.utils.translation import gettext_lazy as _
Keep track of failed login attempts in Django-powered sites.
sandeepkmr088 opened this issue · comments
It was removed from Django 4, use this instead
from django.utils.translation import gettext_lazy as _