Skip to content

Commit

Permalink
Fix #107 Update deprected database engine in docs (#108)
Browse files Browse the repository at this point in the history
Thanks, @pauloxnet
  • Loading branch information
pauloxnet authored May 14, 2021
1 parent 1ec286d commit dd86c62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ 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",
"HOST": "dbhost.example.com",
"PORT": "5432",
},
"dashboard": {
"ENGINE": "django.db.backends.postgresql_psycopg2",
"ENGINE": "django.db.backends.postgresql",
"NAME": "mydb",
"USER": "read_only_user",
"PASSWORD": "read_only_password",
Expand All @@ -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": {
Expand Down

0 comments on commit dd86c62

Please sign in to comment.