mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #33476 -- Reformatted code with Black.
This commit is contained in:
committed by
Mariusz Felisiak
parent
f68fa8b45d
commit
9c19aff7c7
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user