goa/skel/loader.py
branchtls-sprint
changeset 1802 d628defebc17
parent 0 b97547f5f1fa
child 1977 606923dff11b
equal deleted inserted replaced
1801:672acc730ce5 1802:d628defebc17
     2 
     2 
     3     from os.path import dirname, abspath
     3     from os.path import dirname, abspath
     4     from cubicweb import goa
     4     from cubicweb import goa
     5     from cubicweb.goa.goaconfig import GAEConfiguration
     5     from cubicweb.goa.goaconfig import GAEConfiguration
     6     from cubicweb.goa.dbinit import create_user, create_groups
     6     from cubicweb.goa.dbinit import create_user, create_groups
     7     
     7 
     8     # compute application's root directory
     8     # compute application's root directory
     9     APPLROOT = dirname(abspath(__file__))
     9     APPLROOT = dirname(abspath(__file__))
    10     # apply monkey patches first
    10     # apply monkey patches first
    11     goa.do_monkey_patch()
    11     goa.do_monkey_patch()
    12     # get application's configuration (will be loaded from app.conf file)
    12     # get application's configuration (will be loaded from app.conf file)