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 11define: prefix docs/languages/python/django-mongodb
22define: 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>
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title = "Django MongoDB Backend"
33
44intersphinx = [ " 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
99toc_landing_pages = [
@@ -16,7 +16,7 @@ toc_landing_pages = [
1616django-odm = " Django MongoDB Backend"
1717api = " https://django-mongodb-backend.readthedocs.io/en/latest/"
1818mdb-server = " MongoDB Server"
19- django-version = " 5.1 "
19+ django-version = " 5.2 "
2020django-docs = " https://docs.djangoproject.com/en/{+django-version+}"
2121framework = " Django"
2222pymongo-version = " 4.11"
Original file line number Diff line number Diff line change @@ -29,14 +29,13 @@ in the PyMongo documentation.
2929PyMongo Compatibility
3030---------------------
3131
32- {+django-odm+} supports PyMongo versions 4.6 and later.
32+ {+django-odm+} supports PyMongo versions 4.7 and later.
3333
3434Django Compatibility
3535--------------------
3636
3737Your 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
4140Language Compatibility
4241----------------------
Original file line number Diff line number Diff 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>`__
Original file line number Diff line number Diff line change 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 - ✓
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ collection.
2626
2727You can also use the {+framework+} admin site to edit your models
2828and 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/>`__
3030entry in the {+framework+} documentation.
3131
3232Query API
Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments