Hello, I've been trudging through various tutorials and documentation trying to get TG 1.1b1 working. None of them really give me all the answers I need. The SA documentation either gives the declarative style (0.5) docs, or the non-declarative style(0.4) docs. Since the 0.5 docs don't show how to use relations in the old style, I've had to learn from the 0.4 docs. The problem is, the SA 0.4 docs constantly refer to various session manipulations (session.query in particular); but none of the turbogears docs I've come accross mention anything about using session objects/methods. All I know is that when using the tg-admin shell, session changes are automatically queued up and committed when the shell is exited. or when executing session.comitt(). This is an undesirable, feature by the way, since I can't specify which new object instances to save and which to throw away; or at least I don't know how to do so.
I've been trying to figure out if I'm supposed to use session.query from the controller module, or the model module, or if I'm not supposed to use it at all... The controller module doesn't have any import statements regarding session stuff, so if I want to create a controller which queries anything, I don't know what should be imported and what is handled automatically by turbogears. I've been trying to create a quick webapp as part of a job application, and I'm behind schedule and looking bad to the prospective employers; so I'd really appreciate some help. Thank you very much for your time. BTW, until a few days ago i didn't know such software packages as TG even existed, but they sure do make web development a hundred times faster, better and more enjoyable. Keep up the good work TG team! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

