|
8 | 8 | import sys |
9 | 9 | import tempfile |
10 | 10 |
|
11 | | - |
12 | | -PROJECT_ROOT = os.path.normpath(os.path.join(os.path.dirname(__file__), '..')) |
13 | | - |
| 11 | +# A boolean that turns on/off debug mode. |
| 12 | +# https://docs.djangoproject.com/en/1.9/ref/settings/#debug |
14 | 13 | DEBUG = False |
15 | 14 |
|
| 15 | +# If set to True, Django's normal exception handling of view functions |
| 16 | +# will be suppressed, and exceptions will propagate upwards |
| 17 | +# https://docs.djangoproject.com/en/1.9/ref/settings/#debug-propagate-exceptions |
| 18 | +DEBUG_PROPAGATE_EXCEPTIONS = False |
| 19 | + |
16 | 20 | # Silence two security messages around SSL as router takes care of them |
17 | | -# https://docs.djangoproject.com/es/1.9/ref/checks/#security |
| 21 | +# https://docs.djangoproject.com/en/1.9/ref/checks/#security |
18 | 22 | SILENCED_SYSTEM_CHECKS = [ |
19 | 23 | 'security.W004', |
20 | 24 | 'security.W008' |
21 | 25 | ] |
22 | 26 |
|
23 | | -ADMINS = ( |
24 | | - # ('Your Name', 'your_email@example.com'), |
25 | | -) |
26 | | - |
27 | | -MANAGERS = ADMINS |
28 | | - |
29 | 27 | CONN_MAX_AGE = 60 * 3 |
30 | 28 |
|
31 | 29 | # SECURITY: change this to allowed fqdn's to prevent host poisioning attacks |
|
44 | 42 |
|
45 | 43 | # If you set this to False, Django will make some optimizations so as not |
46 | 44 | # to load the internationalization machinery. |
47 | | -USE_I18N = True |
| 45 | +# https://docs.djangoproject.com/en/1.9/ref/settings/#use-i18n |
| 46 | +USE_I18N = False |
48 | 47 |
|
49 | 48 | # If you set this to False, Django will not format dates, numbers and |
50 | 49 | # calendars according to the current locale. |
|
53 | 52 | # If you set this to False, Django will not use timezone-aware datetimes. |
54 | 53 | USE_TZ = True |
55 | 54 |
|
56 | | -# Absolute filesystem path to the directory that will hold user-uploaded files. |
57 | | -# Example: "/var/www/example.com/media/" |
58 | | -MEDIA_ROOT = '' |
59 | | - |
60 | | -# URL that handles the media served from MEDIA_ROOT. Make sure to use a |
61 | | -# trailing slash. |
62 | | -# Examples: "http://example.com/media/", "http://media.example.com/" |
63 | | -MEDIA_URL = '' |
64 | | - |
65 | | -# Static files (CSS, JavaScript, Images) |
66 | | -# https://docs.djangoproject.com/en/1.9/howto/static-files/ |
67 | | -STATIC_URL = '/static/' |
68 | | - |
69 | 55 | # Manage templates |
70 | 56 | TEMPLATES = [ |
71 | 57 | { |
|
276 | 262 | # default scheduler settings |
277 | 263 | SCHEDULER_MODULE = 'scheduler.mock' |
278 | 264 | SCHEDULER_URL = 'localhost' |
279 | | -SCHEDULER_AUTH = None |
280 | | -SCHEDULER_OPTIONS = None |
281 | 265 |
|
282 | 266 | # security keys and auth tokens |
283 | 267 | random_secret = 'CHANGEME_sapm$s%upvsw5l_zuy_&29rkywd^78ff(qi*#@&*^' |
|
0 commit comments