diff --git a/rest_auth/serializers.py b/rest_auth/serializers.py index b645231..9456233 100644 --- a/rest_auth/serializers.py +++ b/rest_auth/serializers.py @@ -3,7 +3,7 @@ from django.conf import settings from django.contrib.auth.forms import PasswordResetForm, SetPasswordForm from django.contrib.auth.tokens import default_token_generator from django.utils.http import urlsafe_base64_decode as uid_decoder -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from django.utils.encoding import force_text from rest_framework import serializers, exceptions