Hello,

If I add "from <projectname>.model import <DBclass>" in my
conroller.py file
I get the following error message
" The MetaData is not bound to an Engine or Connection.  Execution can
not proceed with
out a database to execute against.  Either execute with an explicit
connection or assign the MetaData's .bind to enable implicit
execution."

But when I use "<projectname>.model.<DBclass>.<function>" directly in
the controller.py-file, everything works well...

Unfortunately this makes the code less readable....

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