goa/skel/main.py
changeset 2650 18aec79ec3a3
parent 2476 1294a6bdf3bf
child 4212 ab6573088b4a
equal deleted inserted replaced
2649:5d4a943695d1 2650:18aec79ec3a3
    20 from cubicweb.goa.goaconfig import GAEConfiguration
    20 from cubicweb.goa.goaconfig import GAEConfiguration
    21 GAEConfiguration.ext_resources['JAVASCRIPTS'].append('DATADIR/goa.js')
    21 GAEConfiguration.ext_resources['JAVASCRIPTS'].append('DATADIR/goa.js')
    22 config = GAEConfiguration('toto', APPLROOT)
    22 config = GAEConfiguration('toto', APPLROOT)
    23 
    23 
    24 # dynamic objects registry
    24 # dynamic objects registry
    25 from cubicweb.goa.goavreg import GAERegistry
    25 from cubicweb.goa.goavreg import GAEVregistry
    26 vreg = GAERegistry(config, debug=goa.MODE == 'dev')
    26 vreg = GAEVregistry(config, debug=goa.MODE == 'dev')
    27 
    27 
    28 # trigger automatic classes registration (metaclass magic), should be done
    28 # trigger automatic classes registration (metaclass magic), should be done
    29 # before schema loading
    29 # before schema loading
    30 import custom
    30 import custom
    31 
    31