@@ -38,6 +38,7 @@ types of unsupported {+framework+} and MongoDB features:
38
38
- :ref:`django-limitations-query`
39
39
- :ref:`django-limitations-management`
40
40
- :ref:`django-limitations-migration`
41
+ - :ref:`django-limitations-caching`
41
42
- :ref:`django-limitations-performance`
42
43
43
44
.. _django-limitations-transactions:
@@ -131,8 +132,6 @@ Querying Limitations
131
132
132
133
{+django-odm+} does not support the following ``QuerySet`` API methods:
133
134
134
- - ``dates()``
135
- - ``datetimes()``
136
135
- ``prefetch_related()``
137
136
- ``extra()``
138
137
@@ -171,8 +170,10 @@ Database Functions
171
170
- ``SHA1``, ``SHA224``, ``SHA256``, ``SHA384``, ``SHA512``
172
171
- ``Sign``
173
172
174
- The ``tzinfo`` parameter of the ``Trunc`` database functions doesn't work
175
- properly because MongoDB converts the result back to UTC.
173
+ - The ``tzinfo`` parameter of the
174
+ :class:`~django.db.models.functions.TruncDate` and
175
+ :class:`~django.db.models.functions.TruncTime` database functions isn't
176
+ supported.
176
177
177
178
.. _django-limitations-management:
178
179
@@ -181,7 +182,7 @@ Unsupported Management Commands
181
182
182
183
The following ``django-admin`` commands are unsupported:
183
184
184
- - ``createcachetable``
185
+ - ``createcachetable`` (see :ref:`django-limitations-caching`)
185
186
- ``inspectdb``
186
187
187
188
.. _django-limitations-migration:
@@ -198,6 +199,18 @@ Migration Limitations
198
199
- `DDL Transactions <{+django-docs+}/topics/migrations/#transactions>`__.
199
200
- The ``migrate --fake-initial`` option.
200
201
202
+ .. _django-limitations-caching:
203
+
204
+ Caching
205
+ ~~~~~~~
206
+
207
+ Database caching uses this {+django-odm+}'s ``createcachecollection`` command
208
+ rather Django's SQL-specific ``createcachetable``.
209
+
210
+ Secondly, you must use the ``django_mongodb_backend.cache.MongoDBCache``
211
+ backend rather than Django's built-in database cache backend,
212
+ ``django.core.cache.backends.db.DatabaseCache``.
213
+
201
214
.. _django-limitations-performance:
202
215
203
216
Performance
@@ -234,7 +247,6 @@ We plan to support the following MongoDB features in the GA release:
234
247
by using the Django API
235
248
- Queryable Encryption and Client-side Field Level Encryption
236
249
- Database transactions
237
- - Storage of cached data in the database
238
250
239
251
We plan to support the following MongoDB features in future post-GA releases:
240
252
0 commit comments