Skip to content

Commit f1760d3

Browse files
committed
Use ugettext_lazy to avoid django dev branch error
1 parent 0d08e1d commit f1760d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_provider/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from django.db import models
55
from django.utils import timezone
66
from django.db.models import get_model
7-
from django.utils.translation import ugettext as _
7+
from django.utils.translation import ugettext_lazy as _
88
from django.utils.encoding import python_2_unicode_compatible
99
from django.core.exceptions import ImproperlyConfigured
1010

0 commit comments

Comments
 (0)