diff options
| author | Tom Christie | 2013-02-04 20:55:35 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-02-04 20:55:35 +0000 |
| commit | b052c92ac38f90e5b56cfd128cd4a488713c048e (patch) | |
| tree | e7dc554b870a989644152728aaddb901b8cf92f0 /rest_framework/utils/encoders.py | |
| parent | b82227e517bb7baced840b29d04a545a7b7557ae (diff) | |
| download | django-rest-framework-b052c92ac38f90e5b56cfd128cd4a488713c048e.tar.bz2 | |
Cleanup imports
Mostly adding `from __future__ import unicode_literals` everywhere.
Diffstat (limited to 'rest_framework/utils/encoders.py')
| -rw-r--r-- | rest_framework/utils/encoders.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rest_framework/utils/encoders.py b/rest_framework/utils/encoders.py index 7afe100a..b6de18a8 100644 --- a/rest_framework/utils/encoders.py +++ b/rest_framework/utils/encoders.py @@ -1,13 +1,14 @@ """ Helper classes for parsers. """ +from __future__ import unicode_literals +from django.utils.datastructures import SortedDict +from rest_framework.compat import timezone +from rest_framework.serializers import DictWithMetadata, SortedDictWithMetadata import datetime import decimal import types import json -from django.utils.datastructures import SortedDict -from rest_framework.compat import timezone -from rest_framework.serializers import DictWithMetadata, SortedDictWithMetadata class JSONEncoder(json.JSONEncoder): |
