Changes between Initial Version and Version 1 of Ticket #15317, comment 2
- Timestamp:
- Feb 17, 2011, 5:32:29 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15317, comment 2
initial v1 40 40 So 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... 41 41 42 There 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. 42 43 43 44 44