@@ -34,26 +34,22 @@ Feature Limitations
34
34
In this section, you can learn about the following
35
35
types of unsupported {+framework+} and MongoDB features:
36
36
37
- - :ref:`django-limitations-database `
37
+ - :ref:`django-limitations-transactions `
38
38
- :ref:`django-limitations-models`
39
39
- :ref:`django-limitations-query`
40
40
- :ref:`django-limitations-management`
41
41
- :ref:`django-limitations-migration`
42
- - :ref:`django-limitations-async`
43
- - :ref:`django-limitations-data`
44
42
- :ref:`django-limitations-performance`
45
43
46
- .. _django-limitations-database :
44
+ .. _django-limitations-transactions :
47
45
48
- Unsupported Database Variables
49
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
+ Transaction management
47
+ ~~~~~~~~~~~~~~~~~~~~~~
50
48
51
- The following database variables are not supported by {+django-odm+}:
49
+ Query execution uses Django and MongoDB's default behavior of autocommit mode.
50
+ Each query is immediately committed to the database.
52
51
53
- - ``ATOMIC_REQUESTS``
54
- - ``AUTOCOMMIT``
55
- - ``CONN_HEALTH_CHECKS``
56
- - ``TIME_ZONE``
52
+ Django's transaction management APIs are not supported.
57
53
58
54
.. _django-limitations-models:
59
55
@@ -121,7 +117,7 @@ Fields
121
117
``$lookup`` operations, see the :atlas:`Reduce $lookup Operations
122
118
</schema-suggestions/reduce-lookup-operations/>` guide in the Atlas
123
119
documentation.
124
- - Performance of `CASCADE deletes <{+django-docs+}/ref/models/fields/#django.db.models.CASCADE>`__
120
+ - Performance of `CASCADE deletes <{+django-docs+}/ref/models/fields/#django.db.models.CASCADE>`__
125
121
on a ``ForeignKey`` field is not as performant as using an
126
122
``EmbeddedModelField``.
127
123
@@ -195,9 +191,6 @@ Django Management Command Limitations
195
191
196
192
- ``createcachetable``
197
193
- ``inspectdb``
198
- - ``optimizemigration``
199
- - ``sqlflush``
200
- - ``sqlsequencereset``
201
194
202
195
.. _django-limitations-migration:
203
196
@@ -213,22 +206,6 @@ Migration Limitations
213
206
- `DDL Transactions <{+django-docs+}/topics/migrations/#transactions>`__.
214
207
- ``migrate --fake-initial`` command.
215
208
216
- .. _django-limitations-async:
217
-
218
- Asynchronous Limitations
219
- ~~~~~~~~~~~~~~~~~~~~~~~~
220
-
221
- {+django-odm+} has not been tested for support of the asynchronous functionality of
222
- the Django API.
223
-
224
- .. _django-limitations-data:
225
-
226
- Data Types
227
- ~~~~~~~~~~
228
-
229
- {+django-odm+} does not have a custom ``Field`` class for the ``BSONRegExp``
230
- data type. Instead, use the ``CharField`` class.
231
-
232
209
.. _django-limitations-performance:
233
210
234
211
Performance
@@ -245,15 +222,13 @@ General Availability Release Features
245
222
-------------------------------------
246
223
247
224
In this section, you can learn about the following
248
- types of {+framework+} and MongoDB features that
225
+ types of {+framework+} and MongoDB features that
249
226
GA and post-GA {+django-odm+} releases will likely introduce:
250
227
251
228
- :ref:`django-upcoming-mongodb`
252
229
- :ref:`django-upcoming-models`
253
230
- :ref:`django-upcoming-management`
254
231
- :ref:`django-upcoming-third-party`
255
- - :ref:`django-upcoming-variables`
256
- - :ref:`django-upcoming-async`
257
232
258
233
.. _django-upcoming-mongodb:
259
234
@@ -311,49 +286,27 @@ the GA release:
311
286
- Multiple models within a collection
312
287
- Improved form representation in embedded models
313
288
314
- In future post-GA releases , we plan to support a custom ``Field``
315
- class for the ``BSONRegExp`` data type.
289
+ In future post-GA release , we plan to add a custom model field for the
290
+ ``BSONRegExp`` data type.
316
291
317
292
.. _django-upcoming-management:
318
293
319
- Django Management Command Features
320
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
321
-
322
- We plan to support the following Django commands in
323
- the GA release:
294
+ Management Command Features
295
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
324
296
325
- - `` dumpdata``
326
- - ``loaddata``
297
+ Serialization support for ``EmbeddedModelField`` (i.g. Django's ` dumpdata`` and
298
+ ``loaddata`` management commands) will be added by the GA release.
327
299
328
300
.. _django-upcoming-third-party:
329
301
330
- Third Party Features
331
- ~~~~~~~~~~~~~~~~~~~~
302
+ Third- Party Libraries
303
+ ~~~~~~~~~~~~~~~~~~~~~
332
304
333
- We plan to support the following third-party features in
334
- the GA release:
305
+ We plan to test compatibility with the following third-party libraries by the
306
+ GA release:
335
307
336
308
- `Django-filter <https://django-filter.readthedocs.io/en/stable/>`__
337
309
- `Django Rest Framework <https://www.django-rest-framework.org/>`__
338
310
- `Django-allauth <https://docs.allauth.org/en/latest/>`__
339
311
- `Wagtail <https://wagtail.org/>`__
340
312
- `Django Debug Toolbar <https://django-debug-toolbar.readthedocs.io/en/latest/>`__
341
-
342
- .. _django-upcoming-variables:
343
-
344
- Database Variable Support
345
- ~~~~~~~~~~~~~~~~~~~~~~~~~
346
-
347
- We plan to support the following Django variables for configuring
348
- your database connection in future post-GA releases:
349
-
350
- - ``CONN_HEALTH_CHECKS``
351
- - ``TIME_ZONE``
352
-
353
- .. _django-upcoming-async:
354
-
355
- Asynchronous Support
356
- ~~~~~~~~~~~~~~~~~~~~
357
-
358
- We plan to offer asynchronous support for {+django-odm+} in
359
- future post-GA releases.
0 commit comments