#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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070181cb2b11eb-6b53f6fa-3ed7-435f-9652-ae7c79e262e6-000000%40eu-central-1.amazonses.com.