old_contents: import os
  import site
  
  os.environ['CELERY_LOADER'] = 'django'
  
  # Add the app dir to the python path so we can import manage.
  wsgidir = os.path.dirname(__file__)
  site.addsitedir(os.path.abspath(os.path.join(wsgidir, '../')))
  
  # manage adds /apps, /lib, and /vendor to the Python path.
  import manage
  
  import django.core.handlers.wsgi
  os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
  application = django.core.handlers.wsgi.WSGIHandler()
  
  # vim: ft=python
  
new_contents: import os
  import site
  
  os.environ['CELERY_LOADER'] = 'django'
  
  # Add the app dir to the python path so we can import manage.
  wsgidir = os.path.dirname(__file__)
  site.addsitedir(os.path.abspath(os.path.join(wsgidir, '../')))
  
  # manage adds /apps, /lib, and /vendor to the Python path.
  import manage
  
  import django.core.handlers.wsgi
  os.environ['DJANGO_SETTINGS_MODULE'] = 'pto.settings'
  application = django.core.handlers.wsgi.WSGIHandler()
  
  # vim: ft=python
  
subject: fix for wsgi app