]> git.openstreetmap.org Git - osqa.git/blob - osqa.wsgi.dist
Makes hitting a question url using an id that is not a question raise a 404.
[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 os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings'
6 import django.core.handlers.wsgi
7 application = django.core.handlers.wsgi.WSGIHandler()