[EMAIL PROTECTED] wrote:
>
> On May 1, 1:46 am, lilspikey <[EMAIL PROTECTED]> wrote:
>
>   
>> Inside a controller your code will be running in a transaction -
>> whereas elsewhere it won't.  There's a bit of stuff here:
>>
>> http://docs.turbogears.org/1.0/ModelOutsideTG
>>     
>
> I printed that and read it.  Can you please elaborate how you modify
> database
> outside of a controller?  I'm still having problems.
>
> cs
> >
>   
I made a quick nonsensical example.  I think this is what you're looking 
for...

http://paste.turbogears.org/paste/2637

    -Jim



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