[Django] #33825: postgresql_psycopg2 still remains

3 views
Skip to first unread message

Django

unread,
Jul 4, 2022, 5:43:30 PM7/4/22
to django-...@googlegroups.com
#33825: postgresql_psycopg2 still remains
-------------------------------------+-------------------------------------
Reporter: Maxim | Owner: nobody
Danilov |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: 4.0
layer (models, ORM) |
Severity: Normal | Keywords: db.backend
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
"django.db.backends.postgresql_psycopg2"
This backend was renamed in Django 1.9.

https://docs.djangoproject.com/en/4.0/internals/deprecation/#deprecation-
removed-in-3-0
The django.db.backends.postgresql_psycopg2 module will be removed.


VERSION = (4, 1, 0, "beta", 1)

django.db.utils.py

{{{
function load_backend()
...
# rows 100 - 110
if backend_name == "django.db.backends.postgresql_psycopg2":
backend_name = "django.db.backends.postgresql"

}}}

i understand, that means "backwards compatibility". But not in this case:
renamed in 1.9, removed in 3.xx. It may no longer be needed in 4.xx, the
third major generation of Django after 1.9.

--
Ticket URL: <https://code.djangoproject.com/ticket/33825>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages