]> git.openstreetmap.org Git - chef.git/blob - cookbooks/osqa/templates/default/osqa.wsgi.erb
Use virtual hosts to redirect osm.org for consistency
[chef.git] / cookbooks / osqa / templates / default / osqa.wsgi.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 import os
4 import sys
5 import django.core.handlers.wsgi
6
7 sys.path.append('<%= @directory %>')
8 sys.path.append('<%= @directory %>/osqa')
9 os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings'
10
11 application = django.core.handlers.wsgi.WSGIHandler()