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