old_contents: # pinax.wsgi is configured to live in projects/smeuhsocial/deploy.
  
  import os
  import sys
  
  from os.path import abspath, dirname, join
  from site import addsitedir
  
  addsitedir("/home/smeuhsocial/env/lib/python2.6/site-packages")
  sys.path.insert(0, "/home/smeuhsocial")
  sys.path.insert(1, "/home/smeuhsocial/env/lib/python2.6/site-packages")
  
  from django.conf import settings
  os.environ["DJANGO_SETTINGS_MODULE"] = "smeuhsocial.settings"
  
  sys.path.insert(0, join(settings.PROJECT_ROOT, "apps"))
  
  from django.core.handlers.wsgi import WSGIHandler
  application = WSGIHandler()
  
new_contents: # pinax.wsgi is configured to live in projects/smeuhsocial/deploy.
  
  import os
  import sys
  
  from os.path import abspath, dirname, join
  from site import addsitedir
  
  addsitedir("/home/smeuhsocial/.virtualenvs/smeuhsocial/lib/python2.7/site-packages")
  sys.path.insert(0, "/home/smeuhsocial/smeuhsocial")
  sys.path.insert(1, "/home/smeuhsocial/.virtualenvs/smeuhsocial/lib/python2.7/site-packages")
  
  from django.conf import settings
  os.environ["DJANGO_SETTINGS_MODULE"] = "settings"
  
  sys.path.insert(0, join(settings.PROJECT_ROOT, "apps"))
  
  from django.core.handlers.wsgi import WSGIHandler
  application = WSGIHandler()
  
subject: Update WSGI script for upgrade to Django 1.6