1 """Setup the wradmin application"""
5 from wradmin.config.environment import load_environment
6 from wradmin.model import meta
8 log = logging.getLogger(__name__)
10 def setup_app(command, conf, vars):
11 """Place any commands to setup wradmin here"""
12 if not pylons.test.pylonsapp:
13 load_environment(conf.global_conf, conf.local_conf)
15 ## Create the tables if they don't already exist
16 # meta.metadata.create_all(bind=meta.engine)