Add WSGI file mod_wsgi.
authorDavid ‘Bombe’ Roden <bombe@demoscenemusic.org>
Thu, 9 May 2013 10:38:09 +0000 (12:38 +0200)
committerDavid ‘Bombe’ Roden <bombe@demoscenemusic.org>
Thu, 9 May 2013 10:38:09 +0000 (12:38 +0200)
django.wsgi [new file with mode: 0644]

diff --git a/django.wsgi b/django.wsgi
new file mode 100644 (file)
index 0000000..46e50d5
--- /dev/null
@@ -0,0 +1,8 @@
+import os
+import sys
+
+sys.path.append('/home/bombe/Software')
+os.environ['DJANGO_SETTINGS_MODULE'] = 'DemosceneMusic.settings'
+
+import django.core.handlers.wsgi
+application = django.core.handlers.wsgi.WSGIHandler()