From caf5454945e61cd7f021e94aa85a2382ee8d171b Mon Sep 17 00:00:00 2001 From: Krasi Rangelov Date: Wed, 4 May 2022 14:52:29 +0300 Subject: [PATCH] User gettext_lazy instead ugettext_lazy --- django_enum_choices/__version__.py | 2 +- django_enum_choices/serializers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/django_enum_choices/__version__.py b/django_enum_choices/__version__.py index e835b9d..df4be5e 100644 --- a/django_enum_choices/__version__.py +++ b/django_enum_choices/__version__.py @@ -1 +1 @@ -__version__ = "2.1.3" +__version__ = "2.1.4" diff --git a/django_enum_choices/serializers.py b/django_enum_choices/serializers.py index 7d8dd65..6477ac6 100644 --- a/django_enum_choices/serializers.py +++ b/django_enum_choices/serializers.py @@ -1,4 +1,4 @@ -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from rest_framework import serializers from rest_framework.utils.field_mapping import get_field_kwargs