Re: [flask] Per-module processors
- From:
- Armin Ronacher
- Date:
- 2010-05-04 @ 09:52
Hi,
On 2010-05-03 11:56 PM, Dan Jacob wrote:
> There should be a @context_processor decorator for modules, so that a
> processor can be added on a per-module basis, in the same way as
> @before_request. A processor function defined this way would only be
> executed in the module space.
Interestingly that was already in the code, just the decorators
themselves were missing.
I added them now: http://bit.ly/9vXdY2
Regards,
Armin