diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2019-01-09 00:21:31 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-01-08 19:21:31 -0500 |
| commit | 99b3ab2781e8f8da2ce77a07627da862d3c450dd (patch) | |
| tree | 3441c7bd86ea0d59343bf5592f05082e7f6b4d46 /django/db/models/functions/math.py | |
| parent | 36fceeec883c5082168714a0eb14a2fe40f9d79b (diff) | |
| download | django-99b3ab2781e8f8da2ce77a07627da862d3c450dd.tar.gz | |
Simplified some imports for database functions.
Used more specific modules to reduce the risk of circular imports.
Diffstat (limited to 'django/db/models/functions/math.py')
| -rw-r--r-- | django/db/models/functions/math.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/db/models/functions/math.py b/django/db/models/functions/math.py index 2df7ecf456..c8760652b4 100644 --- a/django/db/models/functions/math.py +++ b/django/db/models/functions/math.py @@ -1,10 +1,10 @@ import math import sys -from django.db.models import ( - DecimalField, FloatField, Func, IntegerField, Transform, -) +from django.db.models.expressions import Func +from django.db.models.fields import DecimalField, FloatField, IntegerField from django.db.models.functions import Cast +from django.db.models.lookups import Transform class DecimalInputMixin: |
