Skip to content

Commit 2b368ff

Browse files
aclark4lifeCopilot
andauthored
Update django_mongodb_backend/schema.py
Co-authored-by: Copilot <[email protected]>
1 parent d874394 commit 2b368ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongodb_backend/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def _create_collection(self, model):
440440
raise ImproperlyConfigured(
441441
"Encrypted fields found but "
442442
f"DATABASES[{self.connection.alias}]['OPTIONS'] is missing "
443-
"auto_encryption_opts."
443+
f"Encrypted fields found but DATABASES['{self.connection.alias}']['OPTIONS'] is missing auto_encryption_opts."
444444
)
445445
encrypted_fields_map = getattr(auto_encryption_opts, "_encrypted_fields_map", None)
446446
if not encrypted_fields_map:

0 commit comments

Comments
 (0)