From c230844dd7fb524d9136d3873c42e45e0d178b4e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 22 May 2025 10:24:01 -0400 Subject: [PATCH 1/2] Correct which version of PyMongo is installed --- snooty.toml | 1 - source/get-started/install.txt | 9 +++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/snooty.toml b/snooty.toml index 954fbbc..c5a37a0 100644 --- a/snooty.toml +++ b/snooty.toml @@ -19,5 +19,4 @@ mdb-server = "MongoDB Server" django-version = "5.2" django-docs = "https://docs.djangoproject.com/en/{+django-version+}" framework = "Django" -pymongo-version = "4.11" pymongo-docs = "https://www.mongodb.com/docs/languages/python/pymongo-driver/current" diff --git a/source/get-started/install.txt b/source/get-started/install.txt index a3942be..c35cde5 100644 --- a/source/get-started/install.txt +++ b/source/get-started/install.txt @@ -60,10 +60,11 @@ in your development environment. pip install django-mongodb-backend - This command also installs the following dependencies: + This command also installs the latest versions of the following + dependencies: - - PyMongo version {+pymongo-version+} and its dependencies - - Latest {+framework+} {+django-version+}.x version and its dependencies + - PyMongo 4.x + - {+framework+} {+django-version+}.x After you complete these steps, you have {+django-odm+} and its -dependencies installed in your development environment. \ No newline at end of file +dependencies installed in your development environment. From 82d178731a8f11ab486d6376800d8f1daecab96a Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 22 May 2025 10:26:43 -0400 Subject: [PATCH 2/2] Replace a hardcoded version number on pymongo docs link --- source/connect.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/connect.txt b/source/connect.txt index a5168ae..cb4e7f2 100644 --- a/source/connect.txt +++ b/source/connect.txt @@ -95,7 +95,7 @@ This nested dictionary has the following keys: * - **OPTIONS** - | A dictionary of additional connection options for the database. This key is optional. | To see a full list of connection options that you can set in the ``OPTIONS`` key, - see the optional parameters for `MongoClient `__ + see the optional parameters for `MongoClient `__ in the PyMongo API documentation. .. _django-manual-config-example: