summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/operations.py
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2019-08-20 08:54:41 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-02-04 13:20:06 +0100
commit335c9c94acf263901fb023404408880245b0c4b4 (patch)
tree691e9683de6c9840cd0a9a097d020c499ea735db /django/contrib/postgres/operations.py
parent469bf2db15597f2c87cb0f8f64132056d2467f15 (diff)
downloaddjango-335c9c94acf263901fb023404408880245b0c4b4.tar.gz
Simplified imports from django.db and django.contrib.gis.db.
Diffstat (limited to 'django/contrib/postgres/operations.py')
-rw-r--r--django/contrib/postgres/operations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/postgres/operations.py b/django/contrib/postgres/operations.py
index 52776324c5..12c850a073 100644
--- a/django/contrib/postgres/operations.py
+++ b/django/contrib/postgres/operations.py
@@ -1,9 +1,9 @@
from django.contrib.postgres.signals import (
get_citext_oids, get_hstore_oids, register_type_handlers,
)
+from django.db import NotSupportedError
from django.db.migrations import AddIndex, RemoveIndex
from django.db.migrations.operations.base import Operation
-from django.db.utils import NotSupportedError
class CreateExtension(Operation):