anderbubble schrieb:
> I just tried to use tgcrud for the first time, but the controller it
> created tried to import "session" from my model. What does this
> session refer to, and where is it supposed to come from?
Third line of "model.py" from a freshly quickstarted project with
SQLAlchemy:
from turbogears.database import metadata, session
See the SQLAlchemy docs for what a "session" is:
http://www.sqlalchemy.org/docs/unitofwork.html
HTH, Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---