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