diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-01-06 20:15:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-06 20:15:14 +0100 |
| commit | 5bcba16c0120d4a1bb661f0a495dc47f5ed5465d (patch) | |
| tree | ba2a98174c7e74fc07cc64da0b704308d19492ad | |
| parent | 6a054f768136de2caeaecf6c0fe9ffad76281373 (diff) | |
Refs #25175 -- Removed postgresql_psycopg2 in django.db.utils.load_backend().
Follow up to 944469939b9eb93fda0924f78faba5c0ffae2dff.
| -rw-r--r-- | django/db/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/utils.py b/django/db/utils.py index f79c3586f8..f8d56bc418 100644 --- a/django/db/utils.py +++ b/django/db/utils.py @@ -115,7 +115,7 @@ def load_backend(backend_name): import django.db.backends builtin_backends = [ name for _, name, ispkg in pkgutil.iter_modules(django.db.backends.__path__) - if ispkg and name not in {'base', 'dummy', 'postgresql_psycopg2'} + if ispkg and name not in {'base', 'dummy'} ] if backend_name not in ['django.db.backends.%s' % b for b in builtin_backends]: backend_reprs = map(repr, sorted(builtin_backends)) |
