def _init_db(debug=False, dry_run=False): """Initialize the database.""" from collective.varnish.webgui import init_db print 'init_db()' if dry_run: return make_app() # Create the tables init_db()
def _init_db(debug=False, dry_run=False): """Initialize the database.""" from collective.varnish.webgui import init_db print 'init_db()' if dry_run: return # Configure the application if debug: make_debug() else: make_app() # Create the tables init_db()