Skip to content

Commit 8a47b99

Browse files
committed
Updated PostgreSQL database backend engine
The PostgreSQL backend (django.db.backends.postgresql_psycopg2) is also available as django.db.backends.postgresql since version 1.9, has been deprecated in version 2.0 and has been removed in version 3.0
1 parent a8774ab commit 8a47b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DjangoPlugin/tracdjangoplugin/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
DATABASES = {
1313
"default": {
14-
"ENGINE": "django.db.backends.postgresql_psycopg2",
14+
"ENGINE": "django.db.backends.postgresql",
1515
"NAME": "djangoproject",
1616
"USER": "djangoproject",
1717
"HOST": SECRETS.get("db_host", ""),

0 commit comments

Comments
 (0)