From: Unknown Author Date: Fri, 8 Aug 2008 23:00:57 +0000 (+0000) Subject: add ALLOWED_IPS (dictionary) vars. These store IP address of clients, who are permitt... X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=c117efac050e4e49ae3f744009c99442bb8951f2 add ALLOWED_IPS (dictionary) vars. These store IP address of clients, who are permitted to submit requests to front-end server. --- diff --git a/gaworkflow/frontend/settings.py b/gaworkflow/frontend/settings.py index 0832d67..a327ce8 100644 --- a/gaworkflow/frontend/settings.py +++ b/gaworkflow/frontend/settings.py @@ -84,13 +84,16 @@ INSTALLED_APPS = ( 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', - #'gaworkflow.frontend.eland_config', 'gaworkflow.frontend.fctracker', 'gaworkflow.frontend.exp_track', + 'gaworkflow.frontend.analys_track', + 'gaworkflow.frontend.htsw_reports', 'django.contrib.databrowse', ) # Project specific settings +ALLOWED_IPS = {"74.51.115.100":"HudsonAlpha","64.89.97.100":"HudsonAlpha","127.0.0.1":"Localhost"} +ALLOWED_ANALYS_IPS = {"171.65.76.194":"Stanford Analysis 1"} #UPLOADTO_HOME = os.path.abspath('../../uploads') #UPLOADTO_CONFIG_FILE = os.path.join(UPLOADTO_HOME, 'eland_config') #UPLOADTO_ELAND_RESULT_PACKS = os.path.join(UPLOADTO_HOME, 'eland_results')