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 1822577 commit 821ae79Copy full SHA for 821ae79
django_mongodb/utils.py
@@ -46,7 +46,7 @@ def log(self, op, duration, args, kwargs=None):
46
# If kwargs are used by any operations in the future, they must be
47
# added to this logging.
48
msg = "(%.3f) %s"
49
- args = ", ".join(str(arg) for arg in args)
+ args = ", ".join(repr(arg) for arg in args)
50
operation = f"db.{self.collection_name}{op}({args})"
51
if len(settings.DATABASES) > 1:
52
msg += f"; alias={self.db.alias}"
0 commit comments