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