On 12/28/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
> Ticket 199
> http://trac.turbogears.org/turbogears/ticket/199
>
> This ticket deals with the fact that identity changes don't commit
> when you type hub.commit() in the shell. This is because identity uses
> its own connection hub. Here are some options:
>
> 1) come up with a way to make identity share the hub with the rest of
> the model (tricky, but may be worth while)

Err... it turned out to be *very* easy. turbogears.database has a
collection of AutoConnectHubs that it maintains (one for each dburi).
PackageHub automatically grabs the hub that is defined for its dburi.
So, by changing turbogears.identity.somodel to use PackageHub instead
of AutoConnectHub, this should be all set.

Kevin

Reply via email to