X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..16f4e7502ed0b5a9774a98d27dac3de344902b23:/osqa.wsgi.dist?ds=sidebyside diff --git a/osqa.wsgi.dist b/osqa.wsgi.dist index c3a269d..70c0da8 100644 --- a/osqa.wsgi.dist +++ b/osqa.wsgi.dist @@ -2,6 +2,10 @@ import os import sys sys.path.append('/path/to_dir_above') sys.path.append('/path/to_dir_above/osqa') +# The first part of this module name should be identical to the directory name +# of the OSQA source. For instance, if the full path to OSQA is +# /home/osqa/osqa-server, then the DJANGO_SETTINGS_MODULE should have a value +# of 'osqa-server.settings'. os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()