diff options
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): |
