diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2019-08-20 08:54:41 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-02-04 13:20:06 +0100 |
| commit | 335c9c94acf263901fb023404408880245b0c4b4 (patch) | |
| tree | 691e9683de6c9840cd0a9a097d020c499ea735db /django/db/models/sql/compiler.py | |
| parent | 469bf2db15597f2c87cb0f8f64132056d2467f15 (diff) | |
Simplified imports from django.db and django.contrib.gis.db.
Diffstat (limited to 'django/db/models/sql/compiler.py')
| -rw-r--r-- | django/db/models/sql/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index a56397a3a1..aee5cb81cd 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -4,6 +4,7 @@ from functools import partial from itertools import chain from django.core.exceptions import EmptyResultSet, FieldError +from django.db import DatabaseError, NotSupportedError from django.db.models.constants import LOOKUP_SEP from django.db.models.expressions import OrderBy, Random, RawSQL, Ref, Value from django.db.models.functions import Cast @@ -13,7 +14,6 @@ from django.db.models.sql.constants import ( ) from django.db.models.sql.query import Query, get_order_dir from django.db.transaction import TransactionManagementError -from django.db.utils import DatabaseError, NotSupportedError from django.utils.functional import cached_property from django.utils.hashable import make_hashable |
