Django's transaction handling changed in 1.6, and the TransactionMiddleware is now deprecated. It turns out (after much debugging) that if you still have it in the middleware list, the logout() view will fail. Removing it so we can go forward with Django auth.

- Legacy-Id: 7538
This commit is contained in:
Henrik Levkowetz 2014-03-23 23:15:50 +00:00
parent 721b9a5cd7
commit 29fe2e87ea

View file

@ -143,7 +143,6 @@ MIDDLEWARE_CLASSES = (
'ietf.middleware.SMTPExceptionMiddleware',
'ietf.middleware.RedirectTrailingPeriod',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.transaction.TransactionMiddleware',
'ietf.middleware.UnicodeNfkcNormalization',
'ietf.secr.middleware.secauth.SecAuthMiddleware'
)