summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-05-05 07:49:43 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-05-07 08:13:30 +0200
commit6d37c089ae1dd9a47a70fca461f903663b067a16 (patch)
treee467fc7504b0e002b3bf9d59e3073f9c8479fb88
parent3166880301047a0d3ce111118123255766409ad0 (diff)
Readded comment about the default params of cursor.execute().
It was removed in in 728548e483a5a3486939b0c8e62520296587482e.
-rw-r--r--django/db/backends/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/utils.py b/django/db/backends/utils.py
index 7fc2449a21..e52d39c69b 100644
--- a/django/db/backends/utils.py
+++ b/django/db/backends/utils.py
@@ -80,6 +80,7 @@ class CursorWrapper:
self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors:
if params is None:
+ # params default might be backend specific.
return self.cursor.execute(sql)
else:
return self.cursor.execute(sql, params)