summaryrefslogtreecommitdiff
path: root/tests/serializers_regress/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/serializers_regress/models.py')
-rw-r--r--tests/serializers_regress/models.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/serializers_regress/models.py b/tests/serializers_regress/models.py
index 7c7b9f12b0..35c4e10676 100644
--- a/tests/serializers_regress/models.py
+++ b/tests/serializers_regress/models.py
@@ -4,11 +4,12 @@ A test spanning all the capabilities of all the serializers.
This class sets up a model for each model field type
(except for image types, because of the Pillow dependency).
"""
-from django.db import models
from django.contrib.contenttypes.fields import (
- GenericForeignKey, GenericRelation
+ GenericForeignKey, GenericRelation,
)
from django.contrib.contenttypes.models import ContentType
+from django.db import models
+
# The following classes are for testing basic data
# marshalling, including NULL values, where allowed.