diff options
Diffstat (limited to 'django/db/__init__.py')
| -rw-r--r-- | django/db/__init__.py | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/django/db/__init__.py b/django/db/__init__.py index 26127860ed..b0cae97e01 100644 --- a/django/db/__init__.py +++ b/django/db/__init__.py @@ -1,17 +1,36 @@ from django.core import signals from django.db.utils import ( - DEFAULT_DB_ALIAS, DJANGO_VERSION_PICKLE_KEY, ConnectionHandler, - ConnectionRouter, DatabaseError, DataError, Error, IntegrityError, - InterfaceError, InternalError, NotSupportedError, OperationalError, + DEFAULT_DB_ALIAS, + DJANGO_VERSION_PICKLE_KEY, + ConnectionHandler, + ConnectionRouter, + DatabaseError, + DataError, + Error, + IntegrityError, + InterfaceError, + InternalError, + NotSupportedError, + OperationalError, ProgrammingError, ) from django.utils.connection import ConnectionProxy __all__ = [ - 'connection', 'connections', 'router', 'DatabaseError', 'IntegrityError', - 'InternalError', 'ProgrammingError', 'DataError', 'NotSupportedError', - 'Error', 'InterfaceError', 'OperationalError', 'DEFAULT_DB_ALIAS', - 'DJANGO_VERSION_PICKLE_KEY', + "connection", + "connections", + "router", + "DatabaseError", + "IntegrityError", + "InternalError", + "ProgrammingError", + "DataError", + "NotSupportedError", + "Error", + "InterfaceError", + "OperationalError", + "DEFAULT_DB_ALIAS", + "DJANGO_VERSION_PICKLE_KEY", ] connections = ConnectionHandler() |
