13👍
✅
The transaction middleware was deprecated in Django 1.6, and removed in Django 1.8. Remove the following line from your middleware classes.
'django.middleware.transaction.TransactionMiddleware',
There is a new feature ATOMIC_REQUESTS
which you can use instead.
For more information, have a look at the section of the docs which explains the changes to transactions.
Source:stackexchange.com