Skip to content

Commit 65a8736

Browse files
committed
Update limitations for 5.1.0b3 release
1 parent 6dad79c commit 65a8736

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

source/limitations-upcoming.txt

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ types of unsupported {+framework+} and MongoDB features:
3838
- :ref:`django-limitations-query`
3939
- :ref:`django-limitations-management`
4040
- :ref:`django-limitations-migration`
41+
- :ref:`django-limitations-caching`
4142
- :ref:`django-limitations-performance`
4243

4344
.. _django-limitations-transactions:
@@ -131,8 +132,6 @@ Querying Limitations
131132

132133
{+django-odm+} does not support the following ``QuerySet`` API methods:
133134

134-
- ``dates()``
135-
- ``datetimes()``
136135
- ``prefetch_related()``
137136
- ``extra()``
138137

@@ -171,8 +170,10 @@ Database Functions
171170
- ``SHA1``, ``SHA224``, ``SHA256``, ``SHA384``, ``SHA512``
172171
- ``Sign``
173172

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.
176177

177178
.. _django-limitations-management:
178179

@@ -181,7 +182,7 @@ Unsupported Management Commands
181182

182183
The following ``django-admin`` commands are unsupported:
183184

184-
- ``createcachetable``
185+
- ``createcachetable`` (see :ref:`django-limitations-caching`)
185186
- ``inspectdb``
186187

187188
.. _django-limitations-migration:
@@ -198,6 +199,18 @@ Migration Limitations
198199
- `DDL Transactions <{+django-docs+}/topics/migrations/#transactions>`__.
199200
- The ``migrate --fake-initial`` option.
200201

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+
201214
.. _django-limitations-performance:
202215

203216
Performance
@@ -234,7 +247,6 @@ We plan to support the following MongoDB features in the GA release:
234247
by using the Django API
235248
- Queryable Encryption and Client-side Field Level Encryption
236249
- Database transactions
237-
- Storage of cached data in the database
238250

239251
We plan to support the following MongoDB features in future post-GA releases:
240252

0 commit comments

Comments
 (0)