Created
March 28, 2011 12:17
-
-
Save ripper234/890361 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
sys.path.append('/home/osqa/sites') | |
sys.path.append('/home/osqa/sites/beta-meta-d3c') | |
# 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'] = 'beta-meta-d3c.settings' | |
import django.core.handlers.wsgi | |
application = django.core.handlers.wsgi.WSGIHandler() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment