[Grok-dev] solving the grok.template() bug - part A of the solution
janwijbrand at gmail.com
Mon Jan 12 16:14:37 EST 2009
On Mon, Jan 12, 2009 at 9:32 PM, Martijn Faassen <faassen at startifact.com> wrote:
> I've made this work now. Instead of fake_import you can properly import
> fake modules now from a special 'martiantest.fake' namespace.
> 'resolve()' also works, so you should be able to resolve fake modules
> from module names now.
> Ironically enough I've introduced a metaclass to implement this
> FakeModule behavior. :)
Cool! This then could mean we can factor out having to pass around a
module as a seperate argument in the directives implementation.
More information about the Grok-dev