On 11/19/05, David Pratt <[EMAIL PROTECTED]> wrote: > This seems to be fine for inserts but I found with delete statements, I > must be explicit about committing the transaction using db.commit(). > Can someone advise whether this is the behavior I should expect from > django's api or whether there is potentially a bug.
Hi David, This is correct behavior. When you use "db" and "cursor", you're really just using the underlying database driver's API, which follows the Python DB-API spec: http://www.python.org/peps/pep-0249.html I've updated the docs here to make this more clear. Thanks for raising this! http://www.djangoproject.com/documentation/model_api/#executing-custom-sql Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org
