Changeset 245136 in webkit
- Timestamp:
- May 9, 2019 9:09:35 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-app/ews-app/settings.py
r243518 r245136 34 34 import os 35 35 36 is_test_mode_enabled = os.getenv('EWS_PRODUCTION') is None 37 36 38 # Build paths inside the project like this: os.path.join(BASE_DIR, ...) 37 39 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) … … 44 46 SECRET_KEY = os.environ.get('EWS_SECRET_KEY', 'secret') 45 47 46 # SECURITY WARNING: don't run with debug turned on in production! 47 DEBUG = True 48 DEBUG = False 49 if is_test_mode_enabled: 50 # SECURITY WARNING: don't run with debug turned on in production! 51 DEBUG = True 48 52 49 53 ALLOWED_HOSTS = ['*'] … … 96 100 # https://docs.djangoproject.com/en/1.11/ref/settings/#databases 97 101 98 is_test_mode_enabled = os.getenv('EWS_PRODUCTION') is None99 102 if is_test_mode_enabled: 100 103 DATABASES = { -
trunk/Tools/ChangeLog
r245127 r245136 1 2019-05-09 Aakash Jain <aakash_jain@apple.com> 2 3 [ews-app] Production and Development env should configure DEBUG appropriately 4 https://bugs.webkit.org/show_bug.cgi?id=197700 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-app/ews-app/settings.py: 9 1 10 2019-05-09 Xan López <xan@igalia.com> 2 11
Note: See TracChangeset
for help on using the changeset viewer.