We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d3dc1 commit 89205afCopy full SHA for 89205af
django_mongodb_backend/schema.py
@@ -439,10 +439,11 @@ def _create_collection(self, model):
439
if schema_map := getattr(options, "_schema_map", None)
440
db.create_collection(db_table, encryptedFields=schema_map[db_table])
441
else:
442
- key_vault_namespace = options._key_vault_namespace
443
- kms_providers = options._kms_providers
444
ce = ClientEncryption(
445
- kms_providers, key_vault_namespace, client, client.codec_options
+ options._kms_providers,
+ options._key_vault_namespace,
+ client,
446
+ client.codec_options
447
)
448
encrypted_fields_map = self._get_encrypted_fields_map(model)
449
provider = router.kms_provider(model)
0 commit comments