2 Django settings for wsgiexample project.
4 For more information on this file, see
5 https://docs.djangoproject.com/en/1.6/topics/settings/
7 For the full list of settings and their values, see
8 https://docs.djangoproject.com/en/1.6/ref/settings/
11 # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
13 BASE_DIR = os.path.dirname(os.path.dirname(__file__))
16 # Quick-start development settings - unsuitable for production
17 # See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/
19 # SECURITY WARNING: keep the secret key used in production secret!
20 SECRET_KEY = 'c=5&609$7)bm_u+3$2bi=ida$*a)c1(cp_0siua7uyww!1qfg_'
22 DEFAULT_API_KEY = 'n7HsXGHIi0vp9j5u4TIRJyqAlXYc4wrH'
24 # SECURITY WARNING: don't run with debug turned on in production!
25 # Override in settings_local
30 ALLOWED_HOSTS = ['jumpgate.caltech.edu']
32 # Application definition
33 AUTHENTICATION_BACKENDS = (
34 'htsworkflow.frontend.samples.auth_backend.HTSUserModelBackend', )
35 CUSTOM_USER_MODEL = 'samples.HTSUser'
38 'django.contrib.admin',
39 'django.contrib.auth',
40 'django.contrib.contenttypes',
41 'django.contrib.sessions',
42 'django.contrib.messages',
43 'django.contrib.staticfiles',
44 'django.contrib.humanize',
46 'htsworkflow.frontend.eland_config',
47 'htsworkflow.frontend.samples',
48 'htsworkflow.frontend.experiments',
49 'htsworkflow.frontend.inventory',
50 'htsworkflow.frontend.bcmagic',
51 'htsworkflow.frontend.labels',
54 MIDDLEWARE_CLASSES = (
55 'django.contrib.sessions.middleware.SessionMiddleware',
56 'django.middleware.common.CommonMiddleware',
57 'django.middleware.csrf.CsrfViewMiddleware',
58 'django.contrib.auth.middleware.AuthenticationMiddleware',
59 'django.contrib.messages.middleware.MessageMiddleware',
60 'django.middleware.clickjacking.XFrameOptionsMiddleware',
64 os.path.join(BASE_DIR, 'htsworkflow', 'frontend', 'templates'),
65 os.path.join(BASE_DIR, 'htsworkflow', 'templates'),
68 ROOT_URLCONF = 'htsworkflow.frontend.urls'
70 WSGI_APPLICATION = 'wsgi.application'
73 # https://docs.djangoproject.com/en/1.6/ref/settings/#databases
77 'ENGINE': 'django.db.backends.sqlite3',
78 'NAME': os.path.join(BASE_DIR, 'fctracker.db'),
82 EMAIL_HOST = 'localhost'
84 # Internationalization
85 # https://docs.djangoproject.com/en/1.6/topics/i18n/
87 LANGUAGE_CODE = 'en-us'
97 TIME_ZONE='America/Los_Angeles'
99 # Static files (CSS, JavaScript, Images)
100 # https://docs.djangoproject.com/en/1.6/howto/static-files/
101 STATIC_URL = '/static/'
105 # Application specific settings
106 # Update this in settings_local to point to your flowcell result directory
107 RESULT_HOME_DIR = os.path.join(BASE_DIR, 'test', 'results')
109 # configure who is sending email and who should get BCCs of announcments
110 NOTIFICATION_SENDER = "noreply@example.com"
114 # allow local customizations
115 from settings_local import *
116 except ImportError as e: