On Sep 2, 1:03 am, Iain Duncan <[email protected]> wrote:
> Wondering what the sensible way of calling an external wsgi app from
> pylons is if we *want* the app to be instantiated at server startup. I
> noticed that when I do
>
> AdminController = DramApp( blah blah)
>
> in my dummy controller file, DramApp doesn't get initialized until the
> first call to the controller. I guess that's ok, but I'm somewhat leery
> of the ZCA registry not being built until it gets requested. Thoughts?
>
> Iain

What about putting an 'import project.controllers.dram' in load_app or
load_environment?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to