These are chat archives for django/django
As far as I can see django provides us with a deprecation Middlewaremixin:
By using the deprecation middleware we can still support older (>= 1.10) versions, although it seems to be a bit hacky(for me at least).
Also after some digging I assume that the MiddlwareMixin will stick around until django version 2.0 where:
'Support for old-style middleware using settings.MIDDLEWARE_CLASSES will be removed.