On 9/24/07, Florent Aide <[EMAIL PROTECTED]> wrote:
> On 9/24/07, Gaetan de Menten <[EMAIL PROTECTED]> wrote:
> >
>
> [...]
>
> > In short, adding the following line to your model files, should fix
> > your problems:
> >
> > from turbogears.database import session
>
> Thanks for the information Gaetan, the quickstart templates for Elixir
> were not updated in beta1 this is certainly the reason why Felix
> encounters these errors.
>
> Felix could you confirm that adding the session from
> turbogears.database at the module level in model.py works for you ?
> --> This way I'll update the quickstart templates for Elixir for the
> beta2.

The third alternative is to make TurboGears use elixir's default
objectstore (or Elixir uses TurboGears as is done for activemapper in
database.py).

-- 
Gaƫtan de Menten
http://openhex.org

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