On 7/3/07, avdd <[EMAIL PROTECTED]> wrote: > > On Jul 3, 10:46 am, "Mike Orr" <[EMAIL PROTECTED]> wrote: > > I just released SAContext 0.2.1. > > Hi Mike, I've just started using Pylons and SA and this module has > really made my life easier! Thanks! > > A couple of minutiae: > > There is a typo on line 223: get_engine_options takes a config_key=, > not key= > > In SAC_Demo `paster shell` does not work, as pylons tries to import > the models before the configuration has been read. My work-around was > to instantiate PylonsSAContext within a function that is called from > Globals.__init__, passing the app_conf down the PSAC.
This works for me with Pylons in Subversion. In 0.9.5 I get "ImportError: cannot import name SessionMiddleware" (from beaker.session) before it reaches that point. Can you upgrade to Pylons Subversion and see if it works? If so, I assume it will work in Pylons 0.9.6 too. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
