diff --git a/oauth2_provider/models.py b/oauth2_provider/models.py index b9d9a3e07..d47699fc9 100644 --- a/oauth2_provider/models.py +++ b/oauth2_provider/models.py @@ -4,7 +4,7 @@ from django.db import models from django.utils import timezone from django.db.models import get_model -from django.utils.translation import ugettext as _ +from django.utils.translation import ugettext_lazy as _ from django.utils.encoding import python_2_unicode_compatible from django.core.exceptions import ImproperlyConfigured