iivvoo / django_layers

Django Layers - Dynamic / request depending template layers for Django
BSD 2-Clause "Simplified" License
12 stars 5 forks source link

add MiddlewareMixin #10

Open predatell opened 5 years ago

predatell commented 5 years ago

For new versions of Django and support new setting MIDDLEWARE instead MIDDLEWARE_CLASSES: https://docs.djangoproject.com/en/2.2/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware