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:
parent
2a65b00381
commit
3ecacdb5fa
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue