|
11 | 11 | ADMINS = ( |
12 | 12 | ( 'Administrator', '[email protected]'), |
13 | 13 | ) |
| 14 | +MANAGERS = ADMINS |
14 | 15 |
|
15 | 16 | DEFAULT_FROM_EMAIL = _environ. get( 'FROM_EMAIL', 'CloudPebble <[email protected]>') |
16 | 17 |
|
17 | 18 | SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') |
18 | 19 |
|
19 | | -MANAGERS = ADMINS |
20 | | - |
21 | 20 | if 'DATABASE_URL' not in _environ: |
22 | 21 | DATABASES = { |
23 | 22 | 'default': { |
|
87 | 86 | # Examples: "http://example.com/media/", "http://media.example.com/" |
88 | 87 | MEDIA_URL = _environ.get('MEDIA_URL', 'http://localhost:8001/builds/') |
89 | 88 |
|
90 | | - |
91 | | - |
92 | 89 | # Absolute path to the directory static files should be collected to. |
93 | 90 | # Don't put anything in this directory yourself; store your static files |
94 | 91 | # in apps' "static/" subdirectories and in STATICFILES_DIRS. |
|
136 | 133 | # Make this unique, and don't share it with anybody. |
137 | 134 | SECRET_KEY = _environ.get('SECRET_KEY', 'y_!-!-i!_txo$v5j(@c7m4uk^jyg)l4bf*0yqrztmax)l2027j') |
138 | 135 |
|
139 | | - |
140 | 136 | TEMPLATES = [ |
141 | 137 | { |
142 | 138 | 'BACKEND': 'django.template.backends.django.DjangoTemplates', |
|
161 | 157 | if not DEBUG: |
162 | 158 | STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage' |
163 | 159 |
|
164 | | - |
165 | 160 | MIDDLEWARE_CLASSES = ( |
166 | 161 | 'django.contrib.sessions.middleware.SessionMiddleware', |
167 | 162 | 'django.middleware.locale.LocaleMiddleware', |
|
238 | 233 | 'JS_COMPRESSOR': 'pipeline.compressors.uglifyjs.UglifyJSCompressor', |
239 | 234 | 'CSS_COMPRESSOR': 'pipeline.compressors.cssclean.CleanCSSCompressor', |
240 | 235 | 'CLEANCSS_BINARY': 'cleancss', |
| 236 | + 'UGLIFYJS_BINARY': 'uglifyjs', |
241 | 237 | 'VERBOSE': True, |
242 | 238 | 'STYLESHEETS': { |
243 | 239 | 'codemirror': { |
|
430 | 426 |
|
431 | 427 | PHONE_SHORTURL = _environ.get('PHONE_SHORTURL', 'cpbl.io') |
432 | 428 |
|
433 | | - |
434 | 429 | # import local settings |
435 | 430 | try: |
436 | 431 | from settings_local import * |
|
0 commit comments