On Thu, Aug 16, 2007 at 10:22:42PM -0000, Michael Bayer wrote:
> On Aug 16, 6:20 pm, "Mike Orr" <[EMAIL PROTECTED]> wrote:
> > > AttributeError: type object 'ScopedSession' has no attribute 'registry'
> >
> > I don't know about that.  Somebody else got a 'registry' error too.  Mike?
> 
> update to beta3 plz

Thanks, problem gone.

Another question on the beta. The changelog reads:

    As you might have noticed above, we are calling commit() on Session.
    The flag transactional=True means the Session is always in a
    transaction, commit() persists permanently.

Does that mean I still have to run Session.commit() manually after I did
changes? I'm glad about the "autoflush" option so I don't need to flush
any more. But instead it appears I need to commit() after every change.
Shouldn't Pylons flush the Session automatically when a request is done?
Would it be wise to add a "model.Session.commit()" to the lib/base.py ->
BaseController -> __after__()?

Cheers
 Christoph


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to