mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Sorted imports with isort; refs #23860.
This commit is contained in:
parent
388d986b8a
commit
0ed7d15563
793 changed files with 2551 additions and 2333 deletions
|
@ -1,9 +1,8 @@
|
|||
from django.db.models.fields.related import (
|
||||
RECURSIVE_RELATIONSHIP_CONSTANT, ManyToManyField, ManyToManyRel,
|
||||
RelatedField, ReverseManyRelatedObjectsDescriptor,
|
||||
create_many_to_many_intermediary_model,
|
||||
ManyToManyField, ManyToManyRel, RelatedField,
|
||||
RECURSIVE_RELATIONSHIP_CONSTANT, ReverseManyRelatedObjectsDescriptor,
|
||||
)
|
||||
|
||||
from django.utils.functional import curry
|
||||
|
||||
|
||||
|
|
|
@ -2,11 +2,17 @@ import datetime
|
|||
import itertools
|
||||
import unittest
|
||||
|
||||
from django.db import connection, DatabaseError, IntegrityError, OperationalError
|
||||
from django.db import (
|
||||
DatabaseError, IntegrityError, OperationalError, connection,
|
||||
)
|
||||
from django.db.models import Model
|
||||
from django.db.models.fields import (BinaryField, BooleanField, CharField, DateTimeField,
|
||||
IntegerField, PositiveIntegerField, SlugField, TextField)
|
||||
from django.db.models.fields.related import ForeignKey, ManyToManyField, OneToOneField
|
||||
from django.db.models.fields import (
|
||||
BinaryField, BooleanField, CharField, DateTimeField, IntegerField,
|
||||
PositiveIntegerField, SlugField, TextField,
|
||||
)
|
||||
from django.db.models.fields.related import (
|
||||
ForeignKey, ManyToManyField, OneToOneField,
|
||||
)
|
||||
from django.db.transaction import atomic
|
||||
from django.test import TransactionTestCase
|
||||
|
||||
|
@ -14,7 +20,7 @@ from .fields import CustomManyToManyField, InheritedManyToManyField
|
|||
from .models import (
|
||||
Author, AuthorWithDefaultHeight, AuthorWithEvenLongerName, Book, BookWeak,
|
||||
BookWithLongName, BookWithO2O, BookWithSlug, Note, Tag, TagIndexed,
|
||||
TagM2MTest, TagUniqueRename, Thing, UniqueTest, new_apps
|
||||
TagM2MTest, TagUniqueRename, Thing, UniqueTest, new_apps,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue