X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=blobdiff_plain;f=htsworkflow%2Fsettings.py;h=ba2137ae56d35bf61bea11559ea73b8b7f94aff0;hp=73d1143ce58b0814b3f76266143bb944db770d9f;hb=7d4dd43f7914351bca76a120363cbd1a4c8ad793;hpb=d34bbae0af8c7143bf459717ebb00762c02b6da0 diff --git a/htsworkflow/settings.py b/htsworkflow/settings.py index 73d1143..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', ) @@ -67,7 +67,7 @@ TEMPLATE_DIRS = ( ROOT_URLCONF = 'htsworkflow.frontend.urls' -WSGI_APPLICATION = 'htsworkflow.frontend.wsgi.application' +WSGI_APPLICATION = 'wsgi.application' # Database # https://docs.djangoproject.com/en/1.6/ref/settings/#databases @@ -79,6 +79,8 @@ DATABASES = { } } +EMAIL_HOST = 'localhost' + # Internationalization # https://docs.djangoproject.com/en/1.6/topics/i18n/ @@ -92,6 +94,7 @@ 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/ @@ -103,6 +106,10 @@ STATIC_URL = '/static/' # 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 *