goa/skel/custom.py
author sylvain.thenault@logilab.fr
Wed, 15 Apr 2009 14:06:53 +0200
branchtls-sprint
changeset 1357 e5a97779c7fc
parent 0 b97547f5f1fa
child 1977 606923dff11b
permissions -rw-r--r--
use entities found in schema, not in the etypes registry, else we miss entity types which have no specific classes

def postinit(vreg):
    """this callback is called at the end of initialization process
    and can be used to load explicit modules (views or entities).

    For instance :
    import someviews
    vreg.load_module(someviws)
    """
    # from migration import migrate
    # migrate(vreg)