Skip to content

Commit cdc49c7

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

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
@@ -438,7 +438,7 @@ def _create_collection(self, model):
438438
if not auto_encryption_opts:
439439
raise ImproperlyConfigured(
440440
"Encrypted fields found but "
441-
"DATABASES[[self.connection.alias}]['OPTIONS'] is missing "
441+
f"DATABASES[{self.connection.alias}]['OPTIONS'] is missing "
442442
"auto_encryption_opts. Please set `auto_encryption_opts` "
443443
"in the connection settings."
444444
)

0 commit comments

Comments
 (0)