Set default timezone to where our lab is located
[htsworkflow.git] / htsworkflow / settings.py
index c7b7dfb6670dd8cb0d63661e696155bcc536cebd..ba2137ae56d35bf61bea11559ea73b8b7f94aff0 100644 (file)
@@ -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.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 *