diff options
author | Tim Graham <timograham@gmail.com> | 2015-01-28 07:35:27 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-02-06 08:16:28 -0500 |
commit | 0ed7d155635da9f79d4dd67e4889087d3673c6da (patch) | |
tree | cf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/managers_regress | |
parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
download | django-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/managers_regress')
-rw-r--r-- | tests/managers_regress/models.py | 4 | ||||
-rw-r--r-- | tests/managers_regress/tests.py | 14 |
2 files changed, 4 insertions, 14 deletions
diff --git a/tests/managers_regress/models.py b/tests/managers_regress/models.py index 99494448bd..16849ed913 100644 --- a/tests/managers_regress/models.py +++ b/tests/managers_regress/models.py @@ -3,11 +3,11 @@ Various edge-cases for model managers. """ from django.contrib.contenttypes.fields import ( - GenericForeignKey, GenericRelation + GenericForeignKey, GenericRelation, ) from django.contrib.contenttypes.models import ContentType from django.db import models -from django.utils.encoding import python_2_unicode_compatible, force_text +from django.utils.encoding import force_text, python_2_unicode_compatible class OnlyFred(models.Manager): diff --git a/tests/managers_regress/tests.py b/tests/managers_regress/tests.py index af507f0b75..6f70314cb7 100644 --- a/tests/managers_regress/tests.py +++ b/tests/managers_regress/tests.py @@ -7,18 +7,8 @@ from django.test import TestCase, override_settings from django.utils.encoding import force_text from .models import ( - Child1, - Child2, - Child3, - Child4, - Child5, - Child6, - Child7, - AbstractBase1, - AbstractBase2, - AbstractBase3, - RelatedModel, - RelationModel, + AbstractBase1, AbstractBase2, AbstractBase3, Child1, Child2, Child3, + Child4, Child5, Child6, Child7, RelatedModel, RelationModel, ) |