Skip to content

Commit 29fe2e8

Browse files
committed
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
1 parent 721b9a5 commit 29fe2e8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

ietf/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ def skip_suspicious_operations(record):
143143
'ietf.middleware.SMTPExceptionMiddleware',
144144
'ietf.middleware.RedirectTrailingPeriod',
145145
'django.middleware.clickjacking.XFrameOptionsMiddleware',
146-
'django.middleware.transaction.TransactionMiddleware',
147146
'ietf.middleware.UnicodeNfkcNormalization',
148147
'ietf.secr.middleware.secauth.SecAuthMiddleware'
149148
)

0 commit comments

Comments
 (0)