Skip to content

Instantly share code, notes, and snippets.

@hacknightly
Created June 7, 2012 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hacknightly/2890715 to your computer and use it in GitHub Desktop.
Save hacknightly/2890715 to your computer and use it in GitHub Desktop.
An example django.wsgi file
import os, sys
sys.path.append('/home/staging/')
sys.path.append('/home/staging/app/')
os.environ['DJANGO_SETTINGS_MODULE'] = '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