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