mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Refs #25175 -- Deprecated db.backends.postgresql_psycopg2 module.
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user