]> git.openstreetmap.org Git - osqa.git/blob - osqa.wsgi.dist
Reverts the last commit, seems to cause some other issues.
[osqa.git] / osqa.wsgi.dist
1 import os
2 import sys
3 sys.path.append('/path/to_dir_above')
4 sys.path.append('/path/to_dir_above/osqa')
5 # The first part of this module name should be identical to the directory name
6 # of the OSQA source.  For instance, if the full path to OSQA is
7 # /home/osqa/osqa-server, then the DJANGO_SETTINGS_MODULE should have a value
8 # of 'osqa-server.settings'.
9 os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings'
10 import django.core.handlers.wsgi
11 application = django.core.handlers.wsgi.WSGIHandler()