diff pylons_app/websetup.py @ 0:564e40829f80

initial commit.
author Marcin Kuzminski
date Thu, 18 Feb 2010 13:01:57 +0100
parents
children 0e87466a117e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pylons_app/websetup.py	Thu Feb 18 13:01:57 2010 +0100
@@ -0,0 +1,9 @@
+"""Setup the pylons_app application"""
+import logging
+from pylons_app.config.environment import load_environment
+log = logging.getLogger(__name__)
+
+
+def setup_app(command, conf, vars):
+    """Place any commands to setup pylons_app here"""
+    load_environment(conf.global_conf, conf.local_conf)