Changes between Initial Version and Version 1 of Ticket #15317, comment 2


Ignore:
Timestamp:
Feb 17, 2011, 5:32:29 PM (14 years ago)
Author:
Jerzy Ludwichowski

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15317, comment 2

    initial v1  
    4040So it turns out that the ticket as stated is indeed invalid. Nonetheless, to prevent others tripping over in similar circumstances it might be helpful to amend at least the 1.3 release notes (http://docs.djangoproject.com/en/dev/releases/1.3/#transaction-management) and perhaps also the Managing database transactions section of the documentation (http://docs.djangoproject.com/en/dev/topics/db/transactions/). Sorry for not providing a sample wording...
    4141
     42There is one more candidate case to be mentioned in the docs: database accesses from within a template. If the corresponding view is transaction.commit_manually decorated then !TemplateResponse and a post-render callback with transaction commit or rollback in it seem to come handy.
    4243
    4344
    44 
Back to Top