Hi! I would like to be able to run some initialization code just after application is fully created and ready to serve requests. I found ApplicationCreated signal but it's being emitted too early for my needs as after calling pyramid_configurator.make_wsgi_app() in middleware.py the app object is being wrapped up with several wsgi middlewares. The reason I don't want to invoke this initialization code directly from middleware.py just before returning the app object is because we have in-house framework based on Pyramid and middleware.py is part of each application using this framework and not part of the framework itself. I would like to have this initialization code be run by the framework itself so that each app doesn't have to run it in its middleware by itself. Any ideas?
Regards, Piotr Dobrogost -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-devel+unsubscr...@googlegroups.com. To post to this group, send email to pylons-devel@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-devel. For more options, visit https://groups.google.com/d/optout.