File tree Expand file tree Collapse file tree 7 files changed +13
-14
lines changed Expand file tree Collapse file tree 7 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 1
1
define: prefix docs/languages/python/django-mongodb
2
2
define: base https://www.mongodb.com/${prefix}
3
- define: versions master
3
+ define: versions v5.0 v5.1 v5.2 master
4
4
5
5
# raw: <source file> -> ${base}/<destination>
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title = "Django MongoDB Backend"
3
3
4
4
intersphinx = [ " https://www.mongodb.com/docs/manual/objects.inv" ,
5
5
" 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" ,
7
7
]
8
8
9
9
toc_landing_pages = [
@@ -16,7 +16,7 @@ toc_landing_pages = [
16
16
django-odm = " Django MongoDB Backend"
17
17
api = " https://django-mongodb-backend.readthedocs.io/en/latest/"
18
18
mdb-server = " MongoDB Server"
19
- django-version = " 5.1 "
19
+ django-version = " 5.2 "
20
20
django-docs = " https://docs.djangoproject.com/en/{+django-version+}"
21
21
framework = " Django"
22
22
pymongo-version = " 4.11"
Original file line number Diff line number Diff line change @@ -29,14 +29,13 @@ in the PyMongo documentation.
29
29
PyMongo Compatibility
30
30
---------------------
31
31
32
- {+django-odm+} supports PyMongo versions 4.6 and later.
32
+ {+django-odm+} supports PyMongo versions 4.7 and later.
33
33
34
34
Django Compatibility
35
35
--------------------
36
36
37
37
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+}.
40
39
41
40
Language Compatibility
42
41
----------------------
Original file line number Diff line number Diff line change @@ -144,10 +144,6 @@ function accepts the following arguments:
144
144
145
145
- ``uri``: Your MongoDB connection URI.
146
146
- ``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.
151
147
- ``test``: Provides a dictionary of settings for test
152
148
databases. This argument is optional. To learn more, see
153
149
`the TEST setting <{+django-docs+}/ref/settings/#test>`__
Original file line number Diff line number Diff line change 10
10
- Python 3.10
11
11
- Python 3.9
12
12
13
- * - 5.1
13
+ * - 5.2
14
14
- ✓
15
15
- ✓
16
16
- ✓
17
17
- ✓
18
18
-
19
19
20
- * - 5.0
21
- -
20
+ * - 5.1
21
+ - ✓
22
22
- ✓
23
23
- ✓
24
24
- ✓
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ collection.
26
26
27
27
You can also use the {+framework+} admin site to edit your models
28
28
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/>`__
30
30
entry in the {+framework+} documentation.
31
31
32
32
Query API
Original file line number Diff line number Diff line change @@ -288,6 +288,10 @@ section of the Create Models guide.
288
288
not supported. Instead, use ``ObjectIdField``.
289
289
- *Unsupported*.
290
290
291
+ * - ``CompositePrimaryKey``
292
+ - *Unsupported*.
293
+ - *Unsupported*.
294
+
291
295
* - ``DateTimeField``
292
296
- *Partially Supported*. You can use this field type with the
293
297
following limitations:
You can’t perform that action at this time.
0 commit comments