Commit 70dcd853 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by gracedb-dev1

removing old wsgi file

parent 7dbde4e5
*.swp
*~
*.pyc
django-*.wsgi
docs/user_docs/build/*
docs/admin_docs/build/*
settings/secret.py
......
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
os.environ['MPLCONFIGDIR']='/tmp/'
# Sandbox libs here, if required.
#
#sys.path.append('/home/jkanner/djangoenv/lib/python2.7/site-packages')
#sys.path.append('/home/jkanner/djangoenv/lib/python2.7')
sys.path.append('/home/roywilliams/gracedbdev')
sys.path.append('/home/roywilliams')
# Activate the virtual environment
VIRTUALENV_ACTIVATOR = "/home/branson/djangoenv/bin/activate_this.py"
execfile(VIRTUALENV_ACTIVATOR, dict(__file__=VIRTUALENV_ACTIVATOR))
# Scott's Shib app uses loggers.
import logging
logging.basicConfig()
os.environ['MPLCONFIGDIR']='/tmp/'
#logging.basicConfig(level=logging.DEBUG,
# format='%(asctime)s %(levelname)s %(message)s',
# filename='/tmp/myapp.log',
# filemode='w')
# Changed for compatibility with Django 1.7.8
#import django.core.handlers.wsgi
#application = django.core.handlers.wsgi.WSGIHandler()
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment