Skip to content

Commit bd36022

Browse files
authored
DOCSP-49585: v5.2 release (#34)
* DOCSP-49585: v5.2 release * feedback * fix
1 parent 092aeef commit bd36022

File tree

7 files changed

+13
-14
lines changed

7 files changed

+13
-14
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
define: prefix docs/languages/python/django-mongodb
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions master
3+
define: versions v5.0 v5.1 v5.2 master
44

55
# raw: <source file> -> ${base}/<destination>

snooty.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "Django MongoDB Backend"
33

44
intersphinx = [ "https://www.mongodb.com/docs/manual/objects.inv",
55
"https://www.mongodb.com/docs/atlas/objects.inv",
6-
"http://docs.djangoproject.com/en/5.1/_objects",
6+
"http://docs.djangoproject.com/en/5.2/_objects",
77
]
88

99
toc_landing_pages = [
@@ -16,7 +16,7 @@ toc_landing_pages = [
1616
django-odm = "Django MongoDB Backend"
1717
api = "https://django-mongodb-backend.readthedocs.io/en/latest/"
1818
mdb-server = "MongoDB Server"
19-
django-version = "5.1"
19+
django-version = "5.2"
2020
django-docs = "https://docs.djangoproject.com/en/{+django-version+}"
2121
framework = "Django"
2222
pymongo-version = "4.11"

source/compatibility.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ in the PyMongo documentation.
2929
PyMongo Compatibility
3030
---------------------
3131

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

3434
Django Compatibility
3535
--------------------
3636

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

4140
Language Compatibility
4241
----------------------

source/connect.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ function accepts the following arguments:
144144

145145
- ``uri``: Your MongoDB connection URI.
146146
- ``db_name``: The name of the database you want to use.
147-
- ``conn_max_age``: Configures persistent database connections.
148-
This argument is optional. To learn more, see
149-
`Persistent connections <{+django-docs+}/ref/databases/#persistent-database-connections>`__
150-
in the {+framework+} documentation.
151147
- ``test``: Provides a dictionary of settings for test
152148
databases. This argument is optional. To learn more, see
153149
`the TEST setting <{+django-docs+}/ref/settings/#test>`__

source/includes/language-compatibility-table-django.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
- Python 3.10
1111
- Python 3.9
1212

13-
* - 5.1
13+
* - 5.2
1414
- ✓
1515
- ✓
1616
- ✓
1717
- ✓
1818
-
1919

20-
* - 5.0
21-
-
20+
* - 5.1
21+
-
2222
- ✓
2323
- ✓
2424
- ✓

source/interact-data/crud.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ collection.
2626

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

3232
Query API

source/limitations-upcoming.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ section of the Create Models guide.
288288
not supported. Instead, use ``ObjectIdField``.
289289
- *Unsupported*.
290290

291+
* - ``CompositePrimaryKey``
292+
- *Unsupported*.
293+
- *Unsupported*.
294+
291295
* - ``DateTimeField``
292296
- *Partially Supported*. You can use this field type with the
293297
following limitations:

0 commit comments

Comments
 (0)