Dear All,
The tutorials I have found use DeclarativeBase. I found information in
the SQLAlchemy docs about how to explicitly define the class, table
and mapper. It would be great to see how this separation of model and
persistence is integrated into Turbogears2.

E.g. when I got to the stage where the database tables need to be
created I used:  metadata.create_all(engine)
But I could not get hold of Turbogears engine instance, so I created
my own!

I also wonder if someone has separated the database stuff into a
package separate from the model package.

Thanks
ernst

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