]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blob - wradmin/wradmin/websetup.py
923f7b0538b690c37fadd49c59c633300ba870b0
[philipp/winterrodeln/wradmin.git] / wradmin / wradmin / websetup.py
1 """Setup the wradmin application"""
2 import logging
3
4 from wradmin.config.environment import load_environment
5 from wradmin.model import meta
6
7 log = logging.getLogger(__name__)
8
9 def setup_app(command, conf, vars):
10     """Place any commands to setup wradmin here"""
11     load_environment(conf.global_conf, conf.local_conf)
12
13     ## Create the tables if they don't already exist
14     # meta.metadata.create_all(bind=meta.engine)