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 1
1
"""
2
2
Pagination fields
3
3
"""
4
+ from collections import OrderedDict
4
5
from rest_framework import serializers
5
6
from rest_framework .views import Response
6
- from rest_framework .compat import OrderedDict
7
7
from rest_framework .pagination import PageNumberPagination
8
8
from rest_framework .templatetags .rest_framework import replace_query_param
9
9
Original file line number Diff line number Diff line change 2
2
Utils.
3
3
"""
4
4
import copy
5
+ from collections import OrderedDict
5
6
6
7
import inflection
7
8
from django .conf import settings
8
9
from django .utils import six , encoding
9
10
from django .utils .translation import ugettext_lazy as _
10
- from rest_framework .compat import OrderedDict
11
11
from rest_framework .serializers import BaseSerializer , ListSerializer , ModelSerializer
12
12
from rest_framework .relations import RelatedField , HyperlinkedRelatedField , PrimaryKeyRelatedField , \
13
13
HyperlinkedIdentityField
You can’t perform that action at this time.
0 commit comments