Skip to content

Commit 7976e90

Browse files
committed
Update readme to include all steps needed to use.
Thanks to @cleibl for the bug report Fixes #2 Fixes #3
1 parent 4b6169c commit 7976e90

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ pip install django_gcp_iam_auth
1212

1313
## Usage
1414

15-
Update the DATABASES entry to replace the ENGINE for your connection.
15+
1. Update the DATABASES entry to replace the ENGINE for your connection
16+
1. Set ```gcp_iam_auth``` to ```True``` in
17+
the ```OPTIONS``` for that connection.
18+
19+
### Example:
1620

1721
```
1822
DATABASES["default"]["ENGINE"] = "django_gcp_iam_auth.postgresql"
23+
DATABASES["default"]["OPTIONS"]["gcp_iam_auth"] = True
1924
```

0 commit comments

Comments
 (0)