diff options
Diffstat (limited to 'rest_framework/tests/fields.py')
| -rw-r--r-- | rest_framework/tests/fields.py | 18 | 
1 files changed, 10 insertions, 8 deletions
| diff --git a/rest_framework/tests/fields.py b/rest_framework/tests/fields.py index 7a5ed718..6bc37db2 100644 --- a/rest_framework/tests/fields.py +++ b/rest_framework/tests/fields.py @@ -2,21 +2,23 @@  General serializer field tests.  """  from __future__ import unicode_literals -from django.utils.datastructures import SortedDict + +from collections import namedtuple +from decimal import Decimal +from uuid import uuid4 +  import datetime -from rest_framework.fields import (humanize_field, humanize_field_type, -                                   humanize_form_fields)  from django import forms -from decimal import Decimal +from django.core import validators  from django.db import models  from django.test import TestCase -from django.core import validators +from django.utils.datastructures import SortedDict +  from rest_framework import serializers +from rest_framework.fields import (humanize_field, humanize_field_type, humanize_form_fields, +                                   Field)  from rest_framework.serializers import Serializer  from rest_framework.tests.models import RESTFrameworkModel -from rest_framework.fields import Field -from collections import namedtuple -from uuid import uuid4  class TimestampedModel(models.Model): | 
