On 8/27/06, Bruce <[EMAIL PROTECTED]> wrote:
>
> Thats it, thanks. The last lines of the example says
> # If you make any changes, you need to manually commit them before
> exiting.
> turbogears.hub.commit()
>
> but it should be just
> hub.commit()
> , I think. That`s what works here anyway...

If you have a line like "from myapp.model import *" in your script,
this will work.

Some people balk at pulling everything from a module into the local
namespace; specifying 'turbogears.hub.commit()' should work in either
case.
-- 
Tim Lesher <[EMAIL PROTECTED]>

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

Reply via email to