Hi,

I'm using Turbogears version 1.0.3.2 running on Windows.

In my controller, when I put:

 from turbogears.database import session


I get an import error saying module session not found. Any clue as to
what may be wrong?

Thanks for your help!

On Oct 1, 5:00 pm, "Florent Aide" <[EMAIL PROTECTED]> wrote:
> On 10/2/07, vrs762 <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I have the following in my controller:
>
> > from model import Person
>
> > e = Person.selectBy(name=inputname)
> > e.address = newaddress
>
> > but the new address is not reflected in my postgresql db.
>
> Which version of TG are you using right now ? This may be because you
> are using the beta version.
>
> [...]
>
> > However, how do I first instantiate the session object?
>
> > Any help would be appreciated!
>
> Anyway the session object can be retrieved from:
>
> from turbogears.database import session
>
> Cheers,
> Florent.


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