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/backends/postgresql/base.py | |
| parent | 469bf2db15597f2c87cb0f8f64132056d2467f15 (diff) | |
Simplified imports from django.db and django.contrib.gis.db.
Diffstat (limited to 'django/db/backends/postgresql/base.py')
| -rw-r--r-- | django/db/backends/postgresql/base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py index 8d58767c62..12b969142e 100644 --- a/django/db/backends/postgresql/base.py +++ b/django/db/backends/postgresql/base.py @@ -10,12 +10,11 @@ import warnings from django.conf import settings from django.core.exceptions import ImproperlyConfigured -from django.db import connections +from django.db import DatabaseError as WrappedDatabaseError, connections from django.db.backends.base.base import BaseDatabaseWrapper from django.db.backends.utils import ( CursorDebugWrapper as BaseCursorDebugWrapper, ) -from django.db.utils import DatabaseError as WrappedDatabaseError from django.utils.asyncio import async_unsafe from django.utils.functional import cached_property from django.utils.safestring import SafeString |
