mirror of
https://github.com/django/django.git
synced 2025-08-27 05:54: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,10 +1,8 @@
|
|||
import datetime
|
||||
from unittest import mock
|
||||
|
||||
from django.db import connection, transaction
|
||||
from django.db.models import F, Func, Q
|
||||
from django.db.models.constraints import CheckConstraint
|
||||
from django.db.utils import IntegrityError
|
||||
from django.db import IntegrityError, connection, transaction
|
||||
from django.db.models import CheckConstraint, F, Func, Q
|
||||
from django.utils import timezone
|
||||
|
||||
from . import PostgreSQLTestCase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue