more importantly is passing the sac._session_context in directly going to cause any issues? I guess it wouldn't as long as a new session is being created someplace I just don't see if it is Jose
Jose Galvez wrote: > Dear Mike, > Very cool demo. Ive got a couple questions. Looking at the demo, I > don't see any new sessions being created, are they created > automatically? Also my most recent projects use the assignmapper > extension which needs the session context to be passed to it. I > created my maps like this: > > assign_mapper(sac._session_context, Flintstone, flintstones, > extension=sac.ext) > > this works, but I was wondering if that was correct, and if so could you > add a reference to it directly in SAContext so we could use > sac.session_context instead? > > Thanks again for the hard work > Jose > > Mike Orr wrote: > >> SAContext 0.2.0 now has a Pylons demo app. Downloads and instructions at >> http://sluggo.scrapping.cc/python/sacontext/ >> >> Beachcoder's bug has been fixed, and I verified you can use >> PylonsSAContext the normal way in websetup.py; you just have to put >> your code below the "push_process_config" line as you would anyway. I >> also added a 'config' argument to PylonsSAContext.__init__ and >> .add_engine so you can pass an 'app_conf'-formatted dict directly. >> >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
