From 3f0c4fe18fe9850bb2f56be138012add4b54873d Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 25 Jan 2017 09:23:04 -0500 Subject: Refs #25175 -- Deprecated db.backends.postgresql_psycopg2 module. --- django/db/backends/postgresql_psycopg2/__init__.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'django') diff --git a/django/db/backends/postgresql_psycopg2/__init__.py b/django/db/backends/postgresql_psycopg2/__init__.py index e69de29bb2..db97c5bcc9 100644 --- a/django/db/backends/postgresql_psycopg2/__init__.py +++ b/django/db/backends/postgresql_psycopg2/__init__.py @@ -0,0 +1,9 @@ +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 +) -- cgit v1.3