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
|
@ -2,10 +2,7 @@ import datetime
|
|||
from unittest import skipIf, skipUnless
|
||||
|
||||
from django.db import connection
|
||||
from django.db.models import Index
|
||||
from django.db.models.deletion import CASCADE
|
||||
from django.db.models.fields.related import ForeignKey
|
||||
from django.db.models.query_utils import Q
|
||||
from django.db.models import CASCADE, ForeignKey, Index, Q
|
||||
from django.test import (
|
||||
TestCase, TransactionTestCase, skipIfDBFeature, skipUnlessDBFeature,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue