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/prefetch_related/tests.py | |
parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
download | django-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/prefetch_related/tests.py')
-rw-r--r-- | tests/prefetch_related/tests.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/prefetch_related/tests.py b/tests/prefetch_related/tests.py index d8d5c19f8e..f059a6f7ca 100644 --- a/tests/prefetch_related/tests.py +++ b/tests/prefetch_related/tests.py @@ -1,7 +1,7 @@ from __future__ import unicode_literals -from django.core.exceptions import ObjectDoesNotExist from django.contrib.contenttypes.models import ContentType +from django.core.exceptions import ObjectDoesNotExist from django.db import connection from django.db.models import Prefetch from django.db.models.query import get_prefetcher @@ -9,10 +9,12 @@ from django.test import TestCase, override_settings from django.utils import six from django.utils.encoding import force_text -from .models import (Author, Bio, Book, Reader, Qualification, Teacher, Department, - TaggedItem, Bookmark, AuthorAddress, FavoriteAuthors, AuthorWithAge, - BookWithYear, BookReview, Person, House, Room, Employee, Comment, - LessonEntry, WordEntry, Author2) +from .models import ( + Author, Author2, AuthorAddress, AuthorWithAge, Bio, Book, Bookmark, + BookReview, BookWithYear, Comment, Department, Employee, FavoriteAuthors, + House, LessonEntry, Person, Qualification, Reader, Room, TaggedItem, + Teacher, WordEntry, +) class PrefetchRelatedTests(TestCase): |