Postgresql has referential integrety checking.
[htsworkflow.git] / htsworkflow / settings.py
index b44a5884eda96acb4b9687b630f8197acd40e396..dce3d90c53608f876cf6b786604288513e96b972 100644 (file)
@@ -46,8 +46,8 @@ INSTALLED_APPS = (
     'htsworkflow.frontend.eland_config',
     'htsworkflow.frontend.samples',
     'htsworkflow.frontend.experiments',
-    'htsworkflow.frontend.inventory',
     'htsworkflow.frontend.bcmagic',
+    'htsworkflow.frontend.inventory',
     'htsworkflow.frontend.labels',
 )
 
@@ -94,16 +94,28 @@ 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/
+STATICFILES_DIRS = (
+    os.path.join(BASE_DIR, 'htsworkflow', 'frontend', 'static'),
+)
 STATIC_URL = '/static/'
 
 
 #####
 # Application specific settings
+DEFAULT_PM = 5
+
+# How often to recheck the result archive
+RESCAN_DELAY=1
 # Update this in settings_local to point to your flowcell result directory
-RESULT_HOME_DIR = os.path.join(BASE_DIR, 'test', 'results')
+RESULT_HOME_DIR = os.path.join(BASE_DIR, 'test', 'result', 'flowcells')
+
+# configure who is sending email and who should get BCCs of announcments
+NOTIFICATION_SENDER = "noreply@example.com"
+NOTIFICATION_BCC=[]
 
 try:
     # allow local customizations