On 10/3/07, vrs762 <[EMAIL PROTECTED]> wrote:
>
> ok, got it working. In the controller.py, I can directly say
>
> Employee.get_by(......)
>
> Thanks for all your help!

This is the SA 0.3.x way to do when x in < 10... I would recommend
upgrading at least to version 0.3.10 and use the new session.query
form.

But you must make sure you use a different session than the TG
provided one since it is another db connexion you setup yourself.

If you go for SA 0.4 then refer to my previously posted example and
use TG.1.0.4beta serie to have SA 0.4 support...

Cheers,
Florent.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to