Skip to content

Instantly share code, notes, and snippets.

@jccovey
Created July 22, 2009 06:23
Show Gist options
  • Save jccovey/151846 to your computer and use it in GitHub Desktop.
Save jccovey/151846 to your computer and use it in GitHub Desktop.
#Django-specific
import sys
import os
sys.path.append("/home/jccovey/django")
sys.path.append("/home/jccovey/django/projects")
os.environ['DJANGO_SETTINGS_MODULE'] = 'beta.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