ship apache stuff (config, wsgi, and favicon) on top
[myslice.git] / apache / myslice.wsgi
diff --git a/apache/myslice.wsgi b/apache/myslice.wsgi
new file mode 100644 (file)
index 0000000..6e36476
--- /dev/null
@@ -0,0 +1,12 @@
+import os
+import sys
+
+path = '/usr/share/myslice'
+if path not in sys.path:
+    sys.path.append(path)
+
+os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
+
+import django.core.handlers.wsgi
+application = django.core.handlers.wsgi.WSGIHandler()
+