goa/skel/custom.py
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 14 Jan 2009 17:55:50 +0100
changeset 413 a7366dd3c33c
parent 0 b97547f5f1fa
child 1977 606923dff11b
permissions -rw-r--r--
fix bug in entity.related_rql(): fetch_attr list / fetchorder weren't computed correctly

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)