equal
deleted
inserted
replaced
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 |