From dd86c6247d4063f078332500e581d86abd048aa8 Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Fri, 14 May 2021 20:14:40 +0200 Subject: [PATCH] Fix #107 Update deprected database engine in docs (#108) Thanks, @pauloxnet --- docs/setup.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/setup.md b/docs/setup.md index efa139e..38bbf1a 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -51,7 +51,7 @@ You can define this `"dashboard"` database alias in `settings.py`. Your `DATABAS ```python DATABASES = { "default": { - "ENGINE": "django.db.backends.postgresql_psycopg2", + "ENGINE": "django.db.backends.postgresql", "NAME": "mydb", "USER": "read_write_user", "PASSWORD": "read_write_password", @@ -59,7 +59,7 @@ DATABASES = { "PORT": "5432", }, "dashboard": { - "ENGINE": "django.db.backends.postgresql_psycopg2", + "ENGINE": "django.db.backends.postgresql", "NAME": "mydb", "USER": "read_only_user", "PASSWORD": "read_only_password", @@ -82,7 +82,7 @@ Some hosting environments such as Heroku charge extra for the ability to create ```python # ... "dashboard": { - "ENGINE": "django.db.backends.postgresql_psycopg2", + "ENGINE": "django.db.backends.postgresql", "USER": "read_write_user", # ... "OPTIONS": {