goa/skel/custom.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 26 May 2009 19:37:36 +0200
branchstable
changeset 1945 2b59d9ae17ae
parent 0 b97547f5f1fa
child 1977 606923dff11b
permissions -rw-r--r--
new argument telling if we want text or (text / attrs), keeping bw compat

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)