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:
parent
721b9a5cd7
commit
29fe2e87ea
|
@ -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'
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue