summaryrefslogtreecommitdiff
path: root/docs/model-api.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-20 17:36:16 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-20 17:36:16 +0000
commitb4bb345b94f7f6415d3a3aa258dbe46478fcfff5 (patch)
treea7eeb7a20042e4728f4dfc4ecb30eb11db2c2cf7 /docs/model-api.txt
parentc472b1471d662b3a3f35641b83086622eae3c10e (diff)
Another change to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/model-api.txt')
-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()