From b9a89ede73c9c3635e5f2d9accac2d6d440f16d2 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 10 Sep 2025 20:30:27 -0400 Subject: [PATCH] Fix broken link due to removal of pymongo's docs --- docs/conf.py | 3 ++- docs/faq.rst | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index e20d8127e..a50d09c6e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -45,7 +45,8 @@ "https://docs.djangoproject.com/en/5.2/_objects/", ), "mongodb": ("https://www.mongodb.com/docs/languages/python/django-mongodb/v5.2/", None), - "pymongo": ("https://pymongo.readthedocs.io/en/stable/", None), + "pymongo": ("https://www.mongodb.com/docs/languages/python/pymongo-driver/current/", None), + "pymongo-api": ("https://pymongo.readthedocs.io/en/stable/", None), "python": ("https://docs.python.org/3/", None), "atlas": ("https://www.mongodb.com/docs/atlas/", None), "manual": ("https://www.mongodb.com/docs/manual/", None), diff --git a/docs/faq.rst b/docs/faq.rst index bb52e1cde..3b9082607 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -24,8 +24,8 @@ Debug logging ------------- To troubleshoot MongoDB connectivity issues, you can enable :doc:`PyMongo's -logging ` using :doc:`Django's LOGGING setting -`. +logging ` using :doc:`Django's LOGGING +setting `. This is a minimal :setting:`LOGGING` setting that enables PyMongo's ``DEBUG`` logging::