X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Fsettings.py;h=ba2137ae56d35bf61bea11559ea73b8b7f94aff0;hp=c366ce32a238deac74491ad3300a7d2d343bf11f;hb=7d4dd43f7914351bca76a120363cbd1a4c8ad793;hpb=125a2f05ae50945b0bd7c9f878de885c91f213eb diff --git a/htsworkflow/settings.py b/htsworkflow/settings.py index c366ce3..ba2137a 100644 --- a/htsworkflow/settings.py +++ b/htsworkflow/settings.py @@ -22,13 +22,13 @@ SECRET_KEY = 'c=5&609$7)bm_u+3$2bi=ida$*a)c1(cp_0siua7uyww!1qfg_' DEFAULT_API_KEY = 'n7HsXGHIi0vp9j5u4TIRJyqAlXYc4wrH' # SECURITY WARNING: don't run with debug turned on in production! +# Override in settings_local DEBUG = True TEMPLATE_DEBUG = True ALLOWED_HOSTS = ['jumpgate.caltech.edu'] - # Application definition AUTHENTICATION_BACKENDS = ( 'htsworkflow.frontend.samples.auth_backend.HTSUserModelBackend', ) @@ -66,9 +66,8 @@ TEMPLATE_DIRS = ( ) ROOT_URLCONF = 'htsworkflow.frontend.urls' -#ROOT_URLCONF='wsgiexample.urls' -WSGI_APPLICATION = 'htsworkflow.frontend.wsgi.application' +WSGI_APPLICATION = 'wsgi.application' # Database # https://docs.djangoproject.com/en/1.6/ref/settings/#databases @@ -80,6 +79,8 @@ DATABASES = { } } +EMAIL_HOST = 'localhost' + # Internationalization # https://docs.djangoproject.com/en/1.6/topics/i18n/ @@ -93,13 +94,24 @@ USE_L10N = True USE_TZ = True +TIME_ZONE='America/Los_Angeles' # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.6/howto/static-files/ STATIC_URL = '/static/' + +##### +# Application specific settings +# Update this in settings_local to point to your flowcell result directory +RESULT_HOME_DIR = os.path.join(BASE_DIR, 'test', 'results') + +# configure who is sending email and who should get BCCs of announcments +NOTIFICATION_SENDER = "noreply@example.com" +NOTIFICATION_BCC=[] + try: # allow local customizations from settings_local import * except ImportError as e: - pass \ No newline at end of file + pass