mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Another change to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user