aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorDirk Moors2015-03-12 16:36:26 +0100
committerDirk Moors2015-03-12 16:36:26 +0100
commit6c1d0d7ed05941c7a673d1bb3f0e1b56a4b6ab44 (patch)
tree020850fa8a7f279410ec2d6f1424cce4c8260c13 /rest_framework
parentff35b971d344646ecb7f2590ab3adfa409f7f538 (diff)
downloaddjango-rest-framework-6c1d0d7ed05941c7a673d1bb3f0e1b56a4b6ab44.tar.bz2
Fixed problem with imporing rest_framework.views in apps.py
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/pagination.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/pagination.py b/rest_framework/pagination.py
index f41a9ae1..5e60448d 100644
--- a/rest_framework/pagination.py
+++ b/rest_framework/pagination.py
@@ -10,7 +10,7 @@ from django.core.paginator import InvalidPage, Paginator as DjangoPaginator
from django.template import Context, loader
from django.utils import six
from django.utils.six.moves.urllib import parse as urlparse
-from django.utils.translation import ugettext as _
+from django.utils.translation import ugettext_lazy as _
from rest_framework.compat import OrderedDict
from rest_framework.exceptions import NotFound
from rest_framework.response import Response