On Monday 11 January 2016 01:54:58 Raphaël Barrois wrote: > > Hi, > > I've got only one minor suggestion to the "backwards compatibility" > section of the DEP. > > > It currently states that "If the ``MIDDLEWARE`` setting is provided > > [...], the old ``MIDDLEWARE_CLASSES`` setting will be ignored. > > I suggest that, instead, this fails loudly if both ``MIDDLEWARE`` and > ``MIDDLEWARE_CLASSES`` are set. > This would prevent projects from keeping the two versions around and > having to remember which one is currently in use. >
If the failure is too loud, it makes it hard to use the same settings file for testing with multiple versions of Django -- a practice used by Django itself, and I think also by some reusable apps. We've run into this issue with the change of the database test settings. Shai.
