Hi,

to get generations working in Zope 2 the following subscriber is needed:

@zope.component.adapter(zope.app.appsetup.IProcessStartingEvent)
def evolve_minimum(event):
    zope.app.generations.generations.evolve(
        Zope2.DB, zope.app.generations.generations.EVOLVEMINIMUM)


I think should become part of Zope 2 / Five. Objections?

Regards,
-- 
Christian Zagrodnick · c...@gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development


_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to