Skip to content

Commit dd86c62

Browse files
authored
Fix #107 Update deprected database engine in docs (#108)
Thanks, @pauloxnet
1 parent 1ec286d commit dd86c62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ You can define this `"dashboard"` database alias in `settings.py`. Your `DATABAS
5151
```python
5252
DATABASES = {
5353
"default": {
54-
"ENGINE": "django.db.backends.postgresql_psycopg2",
54+
"ENGINE": "django.db.backends.postgresql",
5555
"NAME": "mydb",
5656
"USER": "read_write_user",
5757
"PASSWORD": "read_write_password",
5858
"HOST": "dbhost.example.com",
5959
"PORT": "5432",
6060
},
6161
"dashboard": {
62-
"ENGINE": "django.db.backends.postgresql_psycopg2",
62+
"ENGINE": "django.db.backends.postgresql",
6363
"NAME": "mydb",
6464
"USER": "read_only_user",
6565
"PASSWORD": "read_only_password",
@@ -82,7 +82,7 @@ Some hosting environments such as Heroku charge extra for the ability to create
8282
```python
8383
# ...
8484
"dashboard": {
85-
"ENGINE": "django.db.backends.postgresql_psycopg2",
85+
"ENGINE": "django.db.backends.postgresql",
8686
"USER": "read_write_user",
8787
# ...
8888
"OPTIONS": {

0 commit comments

Comments
 (0)