mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Sorted imports with isort; refs #23860.
This commit is contained in:
@@ -8,16 +8,20 @@ from decimal import Decimal
|
||||
from django import forms
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
from django.db import models
|
||||
from django.forms.models import (_get_foreign_key, inlineformset_factory,
|
||||
modelformset_factory, BaseModelFormSet)
|
||||
from django.forms.models import (
|
||||
BaseModelFormSet, _get_foreign_key, inlineformset_factory,
|
||||
modelformset_factory,
|
||||
)
|
||||
from django.test import TestCase, skipUnlessDBFeature
|
||||
from django.utils import six
|
||||
|
||||
from .models import (Author, BetterAuthor, Book, BookWithCustomPK,
|
||||
BookWithOptionalAltEditor, AlternateBook, AuthorMeeting, CustomPrimaryKey,
|
||||
Place, Owner, Location, OwnerProfile, Restaurant, Product, Price,
|
||||
MexicanRestaurant, ClassyMexicanRestaurant, Repository, Revision,
|
||||
Person, Membership, Team, Player, Poet, Poem, Post)
|
||||
from .models import (
|
||||
AlternateBook, Author, AuthorMeeting, BetterAuthor, Book, BookWithCustomPK,
|
||||
BookWithOptionalAltEditor, ClassyMexicanRestaurant, CustomPrimaryKey,
|
||||
Location, Membership, MexicanRestaurant, Owner, OwnerProfile, Person,
|
||||
Place, Player, Poem, Poet, Post, Price, Product, Repository, Restaurant,
|
||||
Revision, Team,
|
||||
)
|
||||
|
||||
|
||||
class DeletionTests(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user