diff --git a/django/db/backends/postgresql_psycopg2/__init__.py b/django/db/backends/postgresql_psycopg2/__init__.py deleted file mode 100644 index db97c5bcc9..0000000000 --- a/django/db/backends/postgresql_psycopg2/__init__.py +++ /dev/null @@ -1,9 +0,0 @@ -import warnings - -from django.utils.deprecation import RemovedInDjango30Warning - -warnings.warn( - "The django.db.backends.postgresql_psycopg2 module is deprecated in " - "favor of django.db.backends.postgresql.", - RemovedInDjango30Warning, stacklevel=2 -) diff --git a/django/db/backends/postgresql_psycopg2/base.py b/django/db/backends/postgresql_psycopg2/base.py deleted file mode 100644 index 967768434e..0000000000 --- a/django/db/backends/postgresql_psycopg2/base.py +++ /dev/null @@ -1 +0,0 @@ -from ..postgresql.base import * # NOQA diff --git a/django/db/backends/postgresql_psycopg2/client.py b/django/db/backends/postgresql_psycopg2/client.py deleted file mode 100644 index 2bf134bcaf..0000000000 --- a/django/db/backends/postgresql_psycopg2/client.py +++ /dev/null @@ -1 +0,0 @@ -from ..postgresql.client import * # NOQA diff --git a/django/db/backends/postgresql_psycopg2/creation.py b/django/db/backends/postgresql_psycopg2/creation.py deleted file mode 100644 index aaec84e7a8..0000000000 --- a/django/db/backends/postgresql_psycopg2/creation.py +++ /dev/null @@ -1 +0,0 @@ -from ..postgresql.creation import * # NOQA diff --git a/django/db/backends/postgresql_psycopg2/features.py b/django/db/backends/postgresql_psycopg2/features.py deleted file mode 100644 index 3582a1754e..0000000000 --- a/django/db/backends/postgresql_psycopg2/features.py +++ /dev/null @@ -1 +0,0 @@ -from ..postgresql.features import * # NOQA diff --git a/django/db/backends/postgresql_psycopg2/introspection.py b/django/db/backends/postgresql_psycopg2/introspection.py deleted file mode 100644 index 1191bb2f5a..0000000000 --- a/django/db/backends/postgresql_psycopg2/introspection.py +++ /dev/null @@ -1 +0,0 @@ -from ..postgresql.introspection import * # NOQA diff --git a/django/db/backends/postgresql_psycopg2/operations.py b/django/db/backends/postgresql_psycopg2/operations.py deleted file mode 100644 index a45f5e5611..0000000000 --- a/django/db/backends/postgresql_psycopg2/operations.py +++ /dev/null @@ -1 +0,0 @@ -from ..postgresql.operations import * # NOQA diff --git a/django/db/backends/postgresql_psycopg2/schema.py b/django/db/backends/postgresql_psycopg2/schema.py deleted file mode 100644 index b0263d15b7..0000000000 --- a/django/db/backends/postgresql_psycopg2/schema.py +++ /dev/null @@ -1 +0,0 @@ -from ..postgresql.schema import * # NOQA diff --git a/django/db/backends/postgresql_psycopg2/utils.py b/django/db/backends/postgresql_psycopg2/utils.py deleted file mode 100644 index c3e6ffe254..0000000000 --- a/django/db/backends/postgresql_psycopg2/utils.py +++ /dev/null @@ -1 +0,0 @@ -from ..postgresql.utils import * # NOQA diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index 3b58097bf0..4639706146 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -236,7 +236,7 @@ in Django 3.0. See :ref:`deprecated-features-2.0` for details on these changes, including how to remove usage of these features. -* ... +* The ``django.db.backends.postgresql_psycopg2`` module is removed. See :ref:`deprecated-features-2.1` for details on these changes, including how to remove usage of these features.