mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Simplified imports from django.db and django.contrib.gis.db.
This commit is contained in:
parent
469bf2db15
commit
335c9c94ac
113 changed files with 382 additions and 450 deletions
|
@ -1,9 +1,8 @@
|
|||
from math import ceil
|
||||
|
||||
from django.db import connection, models
|
||||
from django.db.models.deletion import (
|
||||
Collector, ProtectedError, RestrictedError,
|
||||
)
|
||||
from django.db.models import ProtectedError, RestrictedError
|
||||
from django.db.models.deletion import Collector
|
||||
from django.db.models.sql.constants import GET_ITERATOR_CHUNK_SIZE
|
||||
from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue