Why is using thread locals in Django bad?
I disagree entirely. TLS is extremely useful. It should be used with care, just as globals should be used with care; but saying it shouldn’t be used at all is just as ridiculous as saying globals should never be used. For example, I store the currently active request in TLS. This makes it accessible from … Read more