summaryrefslogtreecommitdiff
path: root/archweb.wsgi
blob: 2e174249530234a6d59e22fe2ca0aa9599d704c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python
import os
import sys
import site

site.addsitedir('/srv/http/archweb-env/lib/python2.7/site-packages')
sys.path.insert(0, "/srv/http")
sys.path.insert(0, "/srv/http/archweb")

os.environ['DJANGO_SETTINGS_MODULE'] = "archweb.settings"

os.chdir("/srv/http/archweb")

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()