Skip to content

Commit 36e30c8

Browse files
committed
Merge pull request #2678 from vikingco/fix/ugettext-in-pagination
Fixed problem with imporing rest_framework.views in apps.py
2 parents ff35b97 + 6c1d0d7 commit 36e30c8

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy