Browse Source

add default wsgi app item

damien 11 years ago
parent
commit
4f50046d79
1 changed files with 11 additions and 0 deletions
  1. 11 0
      pboard/app.wsgi

+ 11 - 0
pboard/app.wsgi View File

@@ -0,0 +1,11 @@
1
+APP_CONFIG = "/home/daccorsi/sources/protos/pboard/pboard/development.ini"
2
+
3
+#Setup logging
4
+import logging
5
+# logging.config.fileConfig(APP_CONFIG)
6
+
7
+#Load the application
8
+from paste.deploy import loadapp
9
+application = loadapp('config:%s' % APP_CONFIG)
10
+application.debug = True
11
+