ixc / ixc-django-docker

Scripts and config files that make it easier to run Django projects consistently with and without Docker.
5 stars 1 forks source link

Update Middleware configuration for Django 1.11 #5

Open jmurty opened 7 years ago

jmurty commented 7 years ago

As of Django 1.10 middleware classes should be loaded differently, into the MIDDLWARE setting instead of MIDDLWARE_CLASSES: https://docs.djangoproject.com/en/1.11/topics/http/middleware/

To update behaviour for the Django 1.11 LTS target we will need to tweak how the settings are populated, and also check all the middleware used by this project to ensure it is compatible with the lower-level changes: https://docs.djangoproject.com/en/1.11/topics/http/middleware/#upgrading-middleware