On 2/15/06, Ned Batchelder <ned nedbatchelder.com>
wrote:
> Actually, I was looking at the middleware, because
executing the middleware
> modules happens once on the first request. If I put
executable code at the
> top level of a middleware module, I'll get the effect
I'm looking for. Not
> an elegant solution, though.
Ah, right. By that logic, you could also put stuff in your
settings
module, but I agree that it'd be inelegant.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org
|