diff --git a/docs/source/databases.rst b/docs/source/databases.rst deleted file mode 100644 index f94f5c21..00000000 --- a/docs/source/databases.rst +++ /dev/null @@ -1,35 +0,0 @@ -``DATABASES`` settings -====================== - -Some MongoDB-specific database settings are available via the Django -``DATABASES`` setting. - -SRV Connection --------------- - -For MongoDB Atlas clusters, you can use the ``srv`` connection string to -connect to your cluster. - -For example, you could configure ``HOST`` with a connection string like this:: - - DATABASES = { - 'default': { - 'ENGINE': 'django_mongodb', - 'NAME': 'mydatabase', - 'HOST': 'mongodb+srv://', - } - } - -Replica Sets ------------- - -For MongoDB Replica Sets, you can configure the ``HOST`` setting with -multiple host entries like this:: - - DATABASES = { - 'default': { - 'ENGINE': 'django_mongodb', - 'NAME': 'mydatabase', - 'HOST': 'localhost:27017,localhost:27018,localhost:27019', - } - } diff --git a/docs/source/index.rst b/docs/source/index.rst index c7cba930..e9a2ace6 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -5,7 +5,6 @@ django-mongodb 5.0.x documentation :maxdepth: 1 :caption: Contents: - databases querysets Indices and tables