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()