Browse files

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
  • Loading branch information...
1 parent 2a65b00 commit 3ecacdb5fa74c4e874ee6ec780949366e8604cc8 @jacobian jacobian committed Mar 1, 2006
Showing with 4 additions and 1 deletion.
  1. +4 −1 docs/transactions.txt
View
5 docs/transactions.txt
@@ -105,8 +105,11 @@ Manual transaction management looks like::
@transaction.commit_manually
def viewfunc(request):
...
- transaction.commit()
+ # You can commit/rollback however and whenever you want
+ transaction.commit()
...
+
+ # But you've got to remember to do it yourself!
try:
...
except:

0 comments on commit 3ecacdb

Please sign in to comment.