mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #25175 -- Deprecated db.backends.postgresql_psycopg2 module.
This commit is contained in:
parent
ebf34c3cdc
commit
3f0c4fe18f
3 changed files with 17 additions and 1 deletions
|
@ -225,7 +225,12 @@ Features deprecated in 2.0
|
|||
Miscellaneous
|
||||
-------------
|
||||
|
||||
* ...
|
||||
* The ``django.db.backends.postgresql_psycopg2`` module is deprecated in favor
|
||||
of ``django.db.backends.postgresql``. It's been an alias since Django 1.9.
|
||||
This only affects code that imports from the module directly. The
|
||||
``DATABASES`` setting can still use
|
||||
``'django.db.backends.postgresql_psycopg2'``, though you can simplify that by
|
||||
using the ``'django.db.backends.postgresql'`` name added in Django 1.9.
|
||||
|
||||
.. _removed-features-2.0:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue