Browse files

Another change to docs/model-api.txt

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
adrianholovaty committed Nov 20, 2005
1 parent c472b14 commit b4bb345b94f7f6415d3a3aa258dbe46478fcfff5
Showing with 1 addition and 2 deletions.
  1. +1 −2 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()

0 comments on commit b4bb345

Please sign in to comment.