File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11"""
22Pagination fields
33"""
4+ from collections import OrderedDict
45from rest_framework import serializers
56from rest_framework .views import Response
6- from rest_framework .compat import OrderedDict
77from rest_framework .pagination import PageNumberPagination
88from rest_framework .templatetags .rest_framework import replace_query_param
99
Original file line number Diff line number Diff line change 22Utils.
33"""
44import copy
5+ from collections import OrderedDict
56
67import inflection
78from django .conf import settings
89from django .utils import six , encoding
910from django .utils .translation import ugettext_lazy as _
10- from rest_framework .compat import OrderedDict
1111from rest_framework .serializers import BaseSerializer , ListSerializer , ModelSerializer
1212from rest_framework .relations import RelatedField , HyperlinkedRelatedField , PrimaryKeyRelatedField , \
1313 HyperlinkedIdentityField
You can’t perform that action at this time.
0 commit comments