magic-removal: Added a clarification to docs/transactions.txt (thanks, Malaprop)

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2006-03-01 18:24:35 +00:00
parent 2a65b00381
commit 3ecacdb5fa
1 changed files with 4 additions and 1 deletions

View File

@ -105,8 +105,11 @@ Manual transaction management looks like::
@transaction.commit_manually
def viewfunc(request):
...
# You can commit/rollback however and whenever you want
transaction.commit()
...
# But you've got to remember to do it yourself!
try:
...
except: