This is a smart default: each HTTP request is handled within a
discrete database transaction. If an unhandled exception occurs during
the request, the transaction is rolled back.
Maybe we'll want to rethink this later, and use a more fine-grained
approach.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@36
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'conifer.middleware.genshi_locals.ThreadLocals',
+ # TransactionMiddleware should be last...
+ 'django.middleware.transaction.TransactionMiddleware',
)
ROOT_URLCONF = 'conifer.urls'