File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -603,6 +603,10 @@ def is_mongodb_6_3(self):
603
603
def is_mongodb_7_0 (self ):
604
604
return self .mongodb_version >= (7 , 0 )
605
605
606
+ @cached_property
607
+ def is_mongodb_8_0 (self ):
608
+ return self .mongodb_version >= (8 , 0 )
609
+
606
610
@cached_property
607
611
def supports_atlas_search (self ):
608
612
"""Does the server support Atlas search queries and search indexes?"""
@@ -644,5 +648,5 @@ def supports_queryable_encryption(self):
644
648
return (
645
649
(is_enterprise or self .supports_atlas_search )
646
650
and self ._supports_transactions
647
- and self .is_mongodb_7_0
651
+ and self .is_mongodb_8_0
648
652
)
Original file line number Diff line number Diff line change 2
2
Configuring Queryable Encryption
3
3
================================
4
4
5
- .. versionadded :: 5.2.2
5
+ .. versionadded :: 5.2.3
6
6
7
7
:doc: `manual:core/queryable-encryption ` is a powerful MongoDB feature that
8
8
allows you to encrypt sensitive fields in your database while still supporting
Original file line number Diff line number Diff line change 2
2
Encrypted fields
3
3
================
4
4
5
- .. versionadded :: 5.2.2
5
+ .. versionadded :: 5.2.3
6
6
7
7
Django MongoDB Backend supports :doc: `manual:core/queryable-encryption `.
8
8
@@ -65,7 +65,7 @@ supported by Queryable Encryption.
65
65
66
66
.. class :: EncryptedFieldMixin
67
67
68
- .. versionadded :: 5.2.2
68
+ .. versionadded :: 5.2.3
69
69
70
70
A mixin that can be used to create custom encrypted fields that support
71
71
MongoDB's Queryable Encryption.
Original file line number Diff line number Diff line change 2
2
Queryable Encryption
3
3
====================
4
4
5
- .. versionadded :: 5.2.2
5
+ .. versionadded :: 5.2.3
6
6
7
7
Once you have configured your Django project and MongoDB deployment for
8
8
Queryable Encryption, you’re ready to start developing applications that take
You can’t perform that action at this time.
0 commit comments