We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
gettext_lazy
ugettext_lazy
1 parent 0a382e9 commit 4d06653Copy full SHA for 4d06653
drfpasswordless/serializers.py
@@ -1,5 +1,5 @@
1
import logging
2
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
3
from django.contrib.auth import get_user_model
4
from django.core.exceptions import PermissionDenied
5
from django.core.validators import RegexValidator
tests/test_verification.py
@@ -1,6 +1,6 @@
from rest_framework import status
from rest_framework.authtoken.models import Token
from rest_framework.test import APITestCase
6
from django.urls import reverse
0 commit comments