[Cubicweb] [postgis] Enable Postgis extension the right way

Sylvain Thénault sylvain.thenault at logilab.fr
Tue Jun 9 09:33:28 CEST 2015

On 09 juin 09:00, Adrien Di Mascio wrote:
> Hi all,
> Sylvain Thénault <sylvain.thenault at logilab.fr> writes:
> > The point is that we've db-create and db-init commands, with [pre/post]create.py
> > triggered during db-init. While it  may sounds appealing to use postinit.py,
> > that fact that it will be called during db-create will make the whole thing even
> > more confusing...
> What about adding custom events (hooks ?) : pre/post-db-create,
> pre/post-db-init, maybe also pre/post-migration ?

Huuum, that's an idea. On my side I feel like the [pre/post]create.py file is
pretty convenient and would keep on going that way for such needs, but I would
be happy to hear other's opinion.
Sylvain Thénault, LOGILAB, Paris ( - Toulouse (
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

More information about the Cubicweb mailing list