Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 3ecacdb5fa74c4e874ee6ec780949366e8604cc8 1 parent 2a65b00
@jacobian jacobian authored
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:
Please sign in to comment.
Something went wrong with that request. Please try again.