Skip to content
Snippets Groups Projects
Commit 119ad934 authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Removed spurious references to Branson in the code.

parent cf5facfc
No related branches found
No related tags found
No related merge requests found
......@@ -123,9 +123,6 @@ def is_external(user):
return False
else:
return True
# if user.username == 'branson.stephens@LIGO.ORG':
# return False
# return True
#-------------------------------------------------------------------------------
# A utility for determining whether an external user should have access to a
......
......@@ -3,8 +3,6 @@ import logging
class PerformanceMiddleware:
#logging.basicConfig(filename="/home/branson/logs/performance.log",level=logging.INFO)
def process_response(self, request, response):
# Determine whether the user tried to create or replace an event.
logger = logging.getLogger(__name__)
......
import os
import sys
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
# Add the source code directory
sys.path.insert(1,'/home/branson/gracedbdev')
# Activate the virtual environment
VIRTUALENV_ACTIVATOR = "/home/branson/djangoenv/bin/activate_this.py"
execfile(VIRTUALENV_ACTIVATOR, dict(__file__=VIRTUALENV_ACTIVATOR))
os.environ['MPLCONFIGDIR']='/home/branson/logs/'
#import django.core.handlers.wsgi
#application = django.core.handlers.wsgi.WSGIHandler()
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment