Skip to content

Commit 2469f84

Browse files
timgrahamaclark4life
authored andcommitted
fix code highlighting in docs
1 parent b2bb24c commit 2469f84

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

docs/source/howto/queryable-encryption.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Here's how to set it up in your Django settings::
4141
from pymongo.encryption_options import AutoEncryptionOpts
4242

4343
DATABASES = {
44-
44+
...
4545
"encrypted": parse_uri(
4646
DATABASE_URL,
4747
options={
@@ -124,12 +124,12 @@ Django settings::
124124
from bson.binary import Binary
125125
from pymongo.encryption_options import AutoEncryptionOpts
126126

127-
127+
128128
DATABASES["encrypted"] = {
129-
129+
...
130130
"OPTIONS": {
131131
"auto_encryption_opts": AutoEncryptionOpts(
132-
132+
...
133133
crypt_shared_lib_path="/path/to/mongo_crypt_v1",
134134
encrypted_fields_map = {
135135
"encryption__patientrecord": {
@@ -142,12 +142,9 @@ Django settings::
142142
},
143143
}
144144
},
145-
# Add other models with encrypted fields here
146145
},
147146
),
148-
149147
},
150-
151148
}
152149

153150
You are now ready to use :doc:`Queryable Encryption

0 commit comments

Comments
 (0)