Refs #25175 -- Removed db.backends.postgresql_psycopg2 per deprecation timeline.

This commit is contained in:
Tim Graham 2018-12-27 19:23:09 -05:00
parent ec7e179aeb
commit 944469939b
10 changed files with 1 additions and 18 deletions

View File

@ -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
)

View File

@ -1 +0,0 @@
from ..postgresql.base import * # NOQA

View File

@ -1 +0,0 @@
from ..postgresql.client import * # NOQA

View File

@ -1 +0,0 @@
from ..postgresql.creation import * # NOQA

View File

@ -1 +0,0 @@
from ..postgresql.features import * # NOQA

View File

@ -1 +0,0 @@
from ..postgresql.introspection import * # NOQA

View File

@ -1 +0,0 @@
from ..postgresql.operations import * # NOQA

View File

@ -1 +0,0 @@
from ..postgresql.schema import * # NOQA

View File

@ -1 +0,0 @@
from ..postgresql.utils import * # NOQA

View File

@ -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.