mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +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
|
@ -8,10 +8,9 @@ from django.contrib.contenttypes.models import ContentType
|
|||
from django.core.exceptions import FieldError
|
||||
from django.db import connection
|
||||
from django.db.models import (
|
||||
Avg, Case, Count, DecimalField, F, IntegerField, Max, Q, StdDev, Sum,
|
||||
Value, Variance, When,
|
||||
Aggregate, Avg, Case, Count, DecimalField, F, IntegerField, Max, Q, StdDev,
|
||||
Sum, Value, Variance, When,
|
||||
)
|
||||
from django.db.models.aggregates import Aggregate
|
||||
from django.test import TestCase, skipUnlessAnyDBFeature, skipUnlessDBFeature
|
||||
from django.test.utils import Approximate
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue