Skip to content

DOCSP-49585: v5.2 release #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/redirects
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define: prefix docs/languages/python/django-mongodb
define: base https://www.mongodb.com/${prefix}
define: versions master
define: versions v5.0 v5.1 v5.2 master

# raw: <source file> -> ${base}/<destination>
4 changes: 2 additions & 2 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title = "Django MongoDB Backend"

intersphinx = [ "https://www.mongodb.com/docs/manual/objects.inv",
"https://www.mongodb.com/docs/atlas/objects.inv",
"http://docs.djangoproject.com/en/5.1/_objects",
"http://docs.djangoproject.com/en/5.2/_objects",
]

toc_landing_pages = [
Expand All @@ -16,7 +16,7 @@ toc_landing_pages = [
django-odm = "Django MongoDB Backend"
api = "https://django-mongodb-backend.readthedocs.io/en/latest/"
mdb-server = "MongoDB Server"
django-version = "5.1"
django-version = "5.2"
django-docs = "https://docs.djangoproject.com/en/{+django-version+}"
framework = "Django"
pymongo-version = "4.11"
Expand Down
5 changes: 2 additions & 3 deletions source/compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ in the PyMongo documentation.
PyMongo Compatibility
---------------------

{+django-odm+} supports PyMongo versions 4.6 and later.
{+django-odm+} supports PyMongo versions 4.7 and later.

Django Compatibility
--------------------

Your major and minor version of {+django-odm+} must match your Django version.
For example, {+django-odm+} version 5.1 requires Django 5.1. The minimum supported
Django version is 5.0.
For example, {+django-odm+} version {+django-version+} requires Django {+django-version+}.

Language Compatibility
----------------------
Expand Down
4 changes: 0 additions & 4 deletions source/connect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,6 @@ function accepts the following arguments:

- ``uri``: Your MongoDB connection URI.
- ``db_name``: The name of the database you want to use.
- ``conn_max_age``: Configures persistent database connections.
This argument is optional. To learn more, see
`Persistent connections <{+django-docs+}/ref/databases/#persistent-database-connections>`__
in the {+framework+} documentation.
- ``test``: Provides a dictionary of settings for test
databases. This argument is optional. To learn more, see
`the TEST setting <{+django-docs+}/ref/settings/#test>`__
Expand Down
6 changes: 3 additions & 3 deletions source/includes/language-compatibility-table-django.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
- Python 3.10
- Python 3.9

* - 5.1
* - 5.2
- ✓
- ✓
- ✓
- ✓
-

* - 5.0
-
* - 5.1
-
- ✓
- ✓
- ✓
Expand Down
2 changes: 1 addition & 1 deletion source/interact-data/crud.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ collection.

You can also use the {+framework+} admin site to edit your models
and their corresponding collections on a web interface. For
more information, see the `Django Admin Site <https://docs.djangoproject.com/en/5.1/ref/contrib/admin/>`__
more information, see the `Django Admin Site <{+django-docs+}/ref/contrib/admin/>`__
entry in the {+framework+} documentation.

Query API
Expand Down
4 changes: 4 additions & 0 deletions source/limitations-upcoming.txt
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ section of the Create Models guide.
not supported. Instead, use ``ObjectIdField``.
- *Unsupported*.

* - ``CompositePrimaryKey``
- *Unsupported*.
- *Unsupported*.

* - ``DateTimeField``
- *Partially Supported*. You can use this field type with the
following limitations:
Expand Down
Loading