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 d874394 commit 2b368ffCopy full SHA for 2b368ff
django_mongodb_backend/schema.py
@@ -440,7 +440,7 @@ def _create_collection(self, model):
440
raise ImproperlyConfigured(
441
"Encrypted fields found but "
442
f"DATABASES[{self.connection.alias}]['OPTIONS'] is missing "
443
- "auto_encryption_opts."
+ f"Encrypted fields found but DATABASES['{self.connection.alias}']['OPTIONS'] is missing auto_encryption_opts."
444
)
445
encrypted_fields_map = getattr(auto_encryption_opts, "_encrypted_fields_map", None)
446
if not encrypted_fields_map:
0 commit comments