Skip to content

Commit 3582533

Browse files
committed
Document DATABASES "OPTIONS"
1 parent 3c3ad0e commit 3582533

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,16 @@ DATABASES = {
4040
"NAME": "my_database",
4141
"USER": "my_user",
4242
"PASSWORD": "my_password",
43+
"OPTIONS": {
44+
...
45+
},
4346
},
4447
}
4548
```
4649

50+
`OPTIONS` is an optional dictionary of parameters that will be passed to
51+
[`MongoClient`](https://pymongo.readthedocs.io/en/stable/api/pymongo/mongo_client.html).
52+
4753
## Known issues and limitations
4854

4955
- The following `QuerySet` methods aren't supported:

0 commit comments

Comments
 (0)