summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/model-api.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index d8cc33ba87..344f34ef2c 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -1080,8 +1080,7 @@ the resulting rows. Example::
return row
If your custom SQL statement alters the data in your database -- for example,
-via a ``DELETE``, ``INSERT`` or ``UPDATE`` -- you'll need to call
-``db.commit()``. example::
+via a ``DELETE`` or ``UPDATE`` -- you'll need to call ``db.commit()``. Example::
def my_custom_sql2(self):
cursor = db.cursor()