Jose: What Lee & I want to tell is:
if you already have a table named "Post" in database, which has 2 columns "id", "name" with sqlsoup, the code you need to write in model.py for ORM is db = SqlSoup(metadata) then you could use the ORM directly. For example, in controllers.py: post = db.Post.select() Yes, ONLY one line in model.py, but no extra code. ps. I don't know if sqlsoup support view or not, but if you have a more advanced db, the best way is to define the ORM explictly, that the flexibility of sqlalchemy :-) -- Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

