Skip to content

Commit 3f8c7e7

Browse files
committed
Additional updates
1 parent a0b3547 commit 3f8c7e7

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# Django MongoDB Backend
22

3-
Django MongoDB Backend is a [Django]((https://docs.djangoproject.com/)
4-
database backend that uses [PyMongo](https://www.mongodb.com/docs/languages/python/pymongo-driver/)
5-
to connect to MongoDB.
3+
Django MongoDB Backend is a Django database backend that uses [PyMongo](https://www.mongodb.com/docs/languages/python/pymongo-driver/current/) to connect to MongoDB.
64

75
## Documentation
86

@@ -42,12 +40,8 @@ django-admin --version
4240

4341
### Connect to the database
4442

45-
If you don't already have a MongoDB cluster, see the
46-
[getting started with Atlas](https://www.mongodb.com/docs/atlas/getting-started/)
47-
documentation to quickly and easily [deploy a free cluster](https://www.mongodb.com/docs/atlas/tutorial/deploy-free-tier-cluster/).
48-
4943
Navigate to your `example/settings.py` file and replace the `DATABASES`
50-
setting like so:
44+
setting using your cluster's [connection string](https://www.mongodb.com/docs/manual/reference/connection-string/) like so:
5145

5246
```python
5347
DATABASES = {
@@ -59,6 +53,11 @@ DATABASES = {
5953
}
6054
```
6155

56+
> [!TIP]
57+
> You can quickly and easily [deploy a free cluster](https://www.mongodb.com/docs/atlas/tutorial/deploy-free-tier-cluster/) with MongoDB Atlas.
58+
59+
If you're hosting your cluster in MongoDB Atlas, see [this tutorial](https://www.mongodb.com/docs/atlas/tutorial/connect-to-your-cluster/#connect-to-your-atlas-cluster) for additional information on retriving your connection string.
60+
6261
### Run the server
6362

6463
To verify that you correctly configured your project, run the following command

0 commit comments

Comments
 (0)