Changeset 1307
- Timestamp:
- 11/20/05 11:36:16 (3 years ago)
- Files:
-
- django/trunk/docs/model-api.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/model-api.txt
r1306 r1307 1081 1081 1082 1082 If your custom SQL statement alters the data in your database -- for example, 1083 via a ``DELETE``, ``INSERT`` or ``UPDATE`` -- you'll need to call 1084 ``db.commit()``. example:: 1083 via a ``DELETE`` or ``UPDATE`` -- you'll need to call ``db.commit()``. Example:: 1085 1084 1086 1085 def my_custom_sql2(self):
