diff options
| author | Nikolaus Schlemm | 2013-05-19 14:58:11 +0200 |
|---|---|---|
| committer | Nikolaus Schlemm | 2013-05-19 14:58:11 +0200 |
| commit | 88c94f372049058a7a982745e8b772bd057abe99 (patch) | |
| tree | e2bb485ff106968f20c97bbef75e7cfe2f95ec36 /rest_framework/tests/fields.py | |
| parent | efca5f6feccf72421577ccea8889c7de729c47b8 (diff) | |
| parent | f1f5f92d899ae37d71234bf8a8a3ad52e20a253f (diff) | |
| download | django-rest-framework-88c94f372049058a7a982745e8b772bd057abe99.tar.bz2 | |
Merge remote-tracking branch 'grimborg/issue-192-expose-fields-for-options' into issue-192-expose-fields-for-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): |
