Skip to content

Instantly share code, notes, and snippets.

@paultiarks
Created September 24, 2010 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save paultiarks/595856 to your computer and use it in GitHub Desktop.
Save paultiarks/595856 to your computer and use it in GitHub Desktop.
import os
import sys
sys.path.append('/var/sites/RegisterServer')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings.py'
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