From cd113ba2ba69b7f146bd4730318c5755a327b486 Mon Sep 17 00:00:00 2001 From: Andrii Rusanov Date: Mon, 28 Nov 2022 08:18:01 +0200 Subject: [PATCH] Replace ugettext_lazy with gettext_lazy --- rest_framework_friendly_errors/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework_friendly_errors/settings.py b/rest_framework_friendly_errors/settings.py index a155463..6d96cbe 100644 --- a/rest_framework_friendly_errors/settings.py +++ b/rest_framework_friendly_errors/settings.py @@ -1,7 +1,7 @@ from __future__ import unicode_literals from django.conf import settings -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from rest_framework_friendly_errors.utils import update_field_settings