Django

Code

Changeset 2458

Show
Ignore:
Timestamp:
03/01/06 12:24:35 (3 years ago)
Author:
jacob
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/magic-removal/docs/transactions.txt

    r2457 r2458  
    106106    def viewfunc(request): 
    107107        ... 
    108         transaction.commit() 
     108        # You can commit/rollback however and whenever you want 
     109        transaction.commit()     
    109110        ... 
     111         
     112        # But you've got to remember to do it yourself! 
    110113        try: 
    111114            ...