aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/serializers.py
diff options
context:
space:
mode:
authorXavier Ordoquy2013-01-03 11:41:07 +0100
committerXavier Ordoquy2013-01-03 11:41:07 +0100
commit60250f22c8e144494f372338c16a2167cccb319d (patch)
treea467ab51837175ab29abec7eb22bb936375763da /rest_framework/serializers.py
parentcf51dcc9bb409fb985d5aa09c426d1ed33f6e9b4 (diff)
downloaddjango-rest-framework-60250f22c8e144494f372338c16a2167cccb319d.tar.bz2
Move the various compat things to the compat module.
Diffstat (limited to 'rest_framework/serializers.py')
-rw-r--r--rest_framework/serializers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py
index 9f35f77c..663f166b 100644
--- a/rest_framework/serializers.py
+++ b/rest_framework/serializers.py
@@ -1,5 +1,3 @@
-import six
-
import copy
import datetime
import types
@@ -8,6 +6,7 @@ from django.db import models
from django.forms import widgets
from django.utils.datastructures import SortedDict
from rest_framework.compat import get_concrete_model
+from rest_framework.compat import six
# Note: We do the following so that users of the framework can use this style:
#