goa/skel/custom.py
author sylvain.thenault@logilab.fr
Mon, 23 Mar 2009 13:07:26 +0100
branchtls-sprint
changeset 1130 17ff4d4bfbd0
parent 0 b97547f5f1fa
child 1977 606923dff11b
permissions -rw-r--r--
should call clear, not empth (thanks pylint)

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)