diff options
| author | Tim Graham <timograham@gmail.com> | 2017-01-25 09:23:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-25 09:23:04 -0500 |
| commit | 3f0c4fe18fe9850bb2f56be138012add4b54873d (patch) | |
| tree | 4a517a3a14366ac3394280224e401c21e8430840 /docs/releases | |
| parent | ebf34c3cdcd2c75349c60a064427ac255958bf9b (diff) | |
Refs #25175 -- Deprecated db.backends.postgresql_psycopg2 module.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/2.0.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt index a4c4e75920..519b7cd947 100644 --- a/docs/releases/2.0.txt +++ b/docs/releases/2.0.txt @@ -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: |
