summaryrefslogtreecommitdiff
path: root/tests/defer_regress/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/defer_regress/tests.py')
-rw-r--r--tests/defer_regress/tests.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/defer_regress/tests.py b/tests/defer_regress/tests.py
index 87638bb99d..6c66a415df 100644
--- a/tests/defer_regress/tests.py
+++ b/tests/defer_regress/tests.py
@@ -6,13 +6,15 @@ from django.apps import apps
from django.contrib.contenttypes.models import ContentType
from django.contrib.sessions.backends.db import SessionStore
from django.db.models import Count
-from django.db.models.query_utils import deferred_class_factory, DeferredAttribute
+from django.db.models.query_utils import (
+ DeferredAttribute, deferred_class_factory,
+)
from django.test import TestCase, override_settings
from .models import (
- ResolveThis, Item, RelatedItem, Child, Leaf, Proxy, SimpleItem, Feature,
- ItemAndSimpleItem, OneToOneItem, SpecialFeature, Location, Request,
- ProxyRelated, Derived, Base,
+ Base, Child, Derived, Feature, Item, ItemAndSimpleItem, Leaf, Location,
+ OneToOneItem, Proxy, ProxyRelated, RelatedItem, Request, ResolveThis,
+ SimpleItem, SpecialFeature,
)