mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Sorted imports with isort; refs #23860.
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user