Skip to content

Commit 6c1d0d7

Browse files
committed
Fixed problem with imporing rest_framework.views in apps.py
1 parent ff35b97 commit 6c1d0d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/pagination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from django.template import Context, loader
1111
from django.utils import six
1212
from django.utils.six.moves.urllib import parse as urlparse
13-
from django.utils.translation import ugettext as _
13+
from django.utils.translation import ugettext_lazy as _
1414
from rest_framework.compat import OrderedDict
1515
from rest_framework.exceptions import NotFound
1616
from rest_framework.response import Response

0 commit comments

Comments
 (0)