]> git.openstreetmap.org Git - osqa.git/blob - osqa.wsgi.dist
Resolves OSQA-662. We pass the CSRF Token to the AJAX request during the ajax send...
[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()