On Friday, January 8, 2016 at 12:51:25 PM UTC+1, Markus Holtermann wrote: > > Nitpicking, I would also name the settings variable MIDDLEWARES (i.e. > plural) as it is a list of middlewares, not just one. >
Yes, my thought too. On January 8, 2016 10:31:49 PM GMT+11:00, Curtis Maloney < cur...@tinbrain.net <javascript:>> wrote: > I do wonder, though... how the anti-import-strings factions will > react... I'm sure it can, at least, support direct callables being in > the MIDDLEWARE list, not just strings? > We can support it (we actually do that in one place already, take a wild guess), would I wouldn't call it a feature and also wouldn't really document it; after all if a middleware imports models or so you are tosed. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/9d9e4dc1-ce13-4485-9a8c-f9bcd26e465d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.