← Home · ↑ August 2010 · Bookmark #14038

Ned Batchelder: Global Django requests

"As my Django sites get larger and larger, there inevitably comes a point where I want access to the current request from deep inside some function that doesn't have the request object. The latest reason was that I wanted a model class helper to have access to the session so it could access some debug flags. "