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/admin_checks | |
parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
download | django-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/admin_checks')
-rw-r--r-- | tests/admin_checks/models.py | 4 | ||||
-rw-r--r-- | tests/admin_checks/tests.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin_checks/models.py b/tests/admin_checks/models.py index 6c34d95ab8..dbb5931c8c 100644 --- a/tests/admin_checks/models.py +++ b/tests/admin_checks/models.py @@ -2,10 +2,10 @@ Tests of ModelAdmin system checks logic. """ +from django.contrib.contenttypes.fields import GenericForeignKey +from django.contrib.contenttypes.models import ContentType from django.db import models from django.utils.encoding import python_2_unicode_compatible -from django.contrib.contenttypes.models import ContentType -from django.contrib.contenttypes.fields import GenericForeignKey class Album(models.Model): diff --git a/tests/admin_checks/tests.py b/tests/admin_checks/tests.py index 4f5bd5e48a..864609a6c7 100644 --- a/tests/admin_checks/tests.py +++ b/tests/admin_checks/tests.py @@ -6,7 +6,7 @@ from django.contrib.contenttypes.admin import GenericStackedInline from django.core import checks from django.test import TestCase, override_settings -from .models import Song, Book, Album, TwoAlbumFKAndAnE, City, State, Influence +from .models import Album, Book, City, Influence, Song, State, TwoAlbumFKAndAnE class SongForm(forms.ModelForm): |