Ticket #15243: django_15243.diff

File django_15243.diff, 415 bytes (added by Jason Kotenko, 14 years ago)

SVN Patch

  • docs/topics/db/sql.txt

     
    226226
    227227    from django.db import connections
    228228    cursor = connections['my_db_alias'].cursor()
     229    # Your code here...
     230    transaction.commit_unless_managed(using="my_db_alias")
    229231
    230232.. _transactions-and-raw-sql:
    231233
Back to Top