Ticket #15243: django_15243.diff
File django_15243.diff, 415 bytes (added by , 14 years ago) |
---|
-
docs/topics/db/sql.txt
226 226 227 227 from django.db import connections 228 228 cursor = connections['my_db_alias'].cursor() 229 # Your code here... 230 transaction.commit_unless_managed(using="my_db_alias") 229 231 230 232 .. _transactions-and-raw-sql: 231 233